|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jac.core.JacPropTools
org.objectweb.jac.core.JacPropLoader
This class is used to load all the properties necessary to the
execution of JAC. This class is called by the Jac
,
JacLoader
and JacObject
and
CompositionAspect
classes.
JacLoader
,
Jac
Field Summary | |
static int |
acs_count
|
static String |
acsProp
The jac.prop property string to declare initially woven aspect components. |
static String |
bytecodeModifier
The name of the bytecode modifier package |
static String |
bytecodeModifierProp
The name of the property in the the jac.prop file. |
static String |
compositionAspect
|
static String |
compositionAspectProp
The jac.prop property string to set the composition aspect class name. |
static Hashtable |
declaredACs
Stores all the declared aspect components. |
static Vector |
dependentACs
Store the dependent aspect component pairs. |
static String |
dependentACsProp
The name of the dependent property in the prop file. |
static HashSet |
dontTranslateFields
Store the classes whose fields must not be translated |
static String |
dontTranslateFieldsProp
property name for classes whose fields must not be translated |
static Vector |
incompatibleACs
Store the exclusive aspect component pairs. |
static String |
incompatibleACsProp
The name of the incompatible property in the prop file. |
static String |
namingClassDefaultName
Default class providing a naming service. |
static String |
namingClassName
|
static String |
namingClassProp
Property key for the class providing a naming service. |
static HashSet |
packagesToAdapt
Store the packages (set of classes) translated to be wrappable. |
static HashSet |
packagesToNotAdapt
Store the packages (set of classes) translated to be not wrappable. |
static HashSet |
packagesToWrap
|
static String |
propFileName
The JAC property file name. |
static Properties |
props
The properties loaded from the jac.prop file. |
static String |
remoteRefClassName
|
static String |
remRefClassProp
Property key for the remote reference class. |
static String |
remRefDefaultClassName
Default remote reference class. |
static String |
startWeavingPlacesProp
The jac.prop property string to declare when the initially woven aspect components are woven. |
static String |
toAdaptProp
The name of the property in the the jac.prop file. |
static String |
toNotAdaptProp
The name of the property in the the jac.prop file. |
static String |
topologyProp
The name of the property that defines the initial global topology in the jac.prop file. |
static String |
toWrapProp
The name of the property in the the jac.prop file. |
static Hashtable |
wrappableMethods
Store the methods that are wrappable (per class) |
static String |
wrappableMethodsProp
The name of the property in the the jac.prop file. |
static Vector |
wrappingOrder
Store the default wrapping order. |
static String |
wrappingOrderProp
The name of the wrapping order property in the prop file. |
Constructor Summary | |
JacPropLoader()
|
Method Summary | |
static boolean |
adaptClass(String className)
Returns true if the specified class matches the toAdapt property. |
static boolean |
addProps(Properties ps)
Add some properties. |
static boolean |
doNotAdaptClass(String className)
Returns true if the specified class matches the toNotAdapt property. |
static void |
loadProps()
Try to load the properties and set all the internal hash tables in order to be used by the JAC core objects. |
static void |
loadProps(boolean d)
|
static boolean |
translateFields(String className)
Returns true if the fields of the specified class must be translated |
Methods inherited from class org.objectweb.jac.core.JacPropTools |
fillListStringProps, fillMapProps, fillSetProps, fillStringProp, getPropsFrom |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String propFileName
public static final String toNotAdaptProp
public static final String toAdaptProp
public static final String wrappableMethodsProp
public static final String dontTranslateFieldsProp
public static final String toWrapProp
public static final String topologyProp
public static final String acsProp
public static final String startWeavingPlacesProp
public static final String compositionAspectProp
public static final String wrappingOrderProp
public static final String incompatibleACsProp
public static final String dependentACsProp
public static final String bytecodeModifierProp
public static final String remRefClassProp
public static final String remRefDefaultClassName
public static final String namingClassProp
public static final String namingClassDefaultName
public static Properties props
public static HashSet packagesToAdapt
public static HashSet packagesToNotAdapt
public static Hashtable wrappableMethods
public static HashSet dontTranslateFields
public static HashSet packagesToWrap
public static String compositionAspect
public static String bytecodeModifier
public static String remoteRefClassName
public static String namingClassName
public static Hashtable declaredACs
public static Vector wrappingOrder
public static Vector incompatibleACs
public static Vector dependentACs
public static int acs_count
Constructor Detail |
public JacPropLoader()
Method Detail |
public static boolean addProps(Properties ps)
ps
- the properties to add
public static void loadProps(boolean d)
public static void loadProps()
public static boolean translateFields(String className)
public static boolean adaptClass(String className)
public static boolean doNotAdaptClass(String className)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |