| com.tc.object.config.ModuleSpec
All known Subclasses: org.terracotta.modules.cglib_2_1_3.object.config.CGLibModuleSpec, org.terracotta.modules.iBatis_2_2_0.object.config.IBatisModuleSpec, org.terracotta.modules.hibernate_3_1_2.object.config.HibernateModuleSpec,
ModuleSpec | public interface ModuleSpec (Code) | | This interface defines the contract between StandardDsoClientConfigHelper and a module so that the configHelper can get
information such as custom applicator of a class from a module.
The concept of "rank" comes from the OSGi "service rank", which lets you define how
likely a service is to be returned as the default service from a bundle.
See Also: org.osgi.framework.BundleContext.getServiceReference See Also: org.osgi.framework.Constants.SERVICE_RANKING |
HIGH_RANK | final public static Integer HIGH_RANK(Code) | | OSGi service ranking defining which service is returned - HIGH=2
|
LOW_RANK | final public static Integer LOW_RANK(Code) | | OSGi service ranking defining which service is returned - LOW=0
|
NORMAL_RANK | final public static Integer NORMAL_RANK(Code) | | OSGi service ranking defining which service is returned - NORMAL=1
|
getChangeApplicatorSpec | public ChangeApplicatorSpec getChangeApplicatorSpec()(Code) | | Get specification of all change applicators to apply
The spec |
getPeerClass | public Class getPeerClass(Class clazz)(Code) | | Get alternate peer class to use, generally if clazz is non-portable.
Parameters: clazz - The class to check An alternate peer class or the original clazz |
isPortableClass | public boolean isPortableClass(Class clazz)(Code) | | Check with module whether the specified class is portable.
Parameters: clazz - The class True if portable, false if unknown (should check with other modules) |
isUseNonDefaultConstructor | public boolean isUseNonDefaultConstructor(Class clazz)(Code) | | Ask module whether this class uses a non-default constructor.
Parameters: clazz - The class in question True if uses non-default constructor |
|
|