|
|||
![]() |
||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||
|
in-class-from-packageDescriptionThis condition-attribute evaluates to true for methods that are defined in classes which are members of one of the specified packages. The packages are given as a comma-separated list of package-names. The order of the given package-names is not important. Each package-name should follow the conventions used for naming packages in Java.
Example 1. Log methods defined in specific packages <!-- log methods defined in the package named "com.myCompany.myPackage" --> <log in-class-from-package="com.myCompany.myPackage"/> <!-- log methods defined in the unnamed package --> <log in-class-from-package=""/> <!-- log methods defined of two packages --> <log in-class-from-package="com.myCompany.myPackage, com.myCompany.myOtherPackage"/> <!-- log methods defined in a given named package or the unnamed package --> <log in-class-from-package="com.myCompany.myPackage,"/> <!-- or --> <log in-class-from-package=",com.myCompany.myPackage"/> |
|||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||
|
©2003, tangentum.com
All rights reserved.
|
||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||