public class CMPPolicy extends Object implements Serializable
Description: Place holder for CMP specific information. This class can be set on the Descriptor.
Modifier and Type | Field and Description |
---|---|
protected ClassDescriptor |
descriptor |
Constructor and Description |
---|
CMPPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
convertClassNamesToClasses(ClassLoader classLoader)
INTERNAL:
Convert all the class-name-based settings in this object to actual class-based
settings.
|
ClassDescriptor |
getDescriptor()
INTERNAL:
|
void |
initialize(ClassDescriptor descriptor,
AbstractSession session)
INTERNAL:
Initialize the CMPPolicy settings.
|
boolean |
isCMP3Policy()
INTERNAL:
Return if this policy is for CMP3.
|
void |
setDescriptor(ClassDescriptor owningDescriptor)
INTERNAL:
|
protected ClassDescriptor descriptor
public void initialize(ClassDescriptor descriptor, AbstractSession session) throws DescriptorException
DescriptorException
public ClassDescriptor getDescriptor()
public void setDescriptor(ClassDescriptor owningDescriptor)
owningDescriptor
- The owningDescriptor to set.public boolean isCMP3Policy()
public void convertClassNamesToClasses(ClassLoader classLoader)
classLoader
- Copyright © 2021. All rights reserved.