|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassEnhancer
Interface representation of an enhancer of a class.
| Field Summary | |
|---|---|
static java.lang.String |
CN_BitSet
Class name of java.util.BitSet |
static java.lang.String |
CN_ByteIdentity
|
static java.lang.String |
CN_CharIdentity
|
static java.lang.String |
CN_Class
Class name of java.lang.Class |
static java.lang.String |
CN_ClassCastException
Class name of java.lang.ClassCastException |
static java.lang.String |
CN_Detachable
Class name of java.jdo.spi.Detachable |
static java.lang.String |
CN_Flag
Class name of jdoFlags field |
static java.lang.String |
CN_IllegalArgumentException
Class name of java.lang.IllegalArgumentException |
static java.lang.String |
CN_IllegalStateException
Class name of java.lang.IllegalStateException |
static java.lang.String |
CN_IntIdentity
|
static java.lang.String |
CN_JDODetachedFieldAccessException
Class name of javax.jdo.JDODetachedFieldAccessException |
static java.lang.String |
CN_JDOFatalInternalException
Class name of javax.jdo.JDOFatalInternalException |
static java.lang.String |
CN_JDOHelper
Class name of javax.jdo.JDOHelper |
static java.lang.String |
CN_JDOImplHelper
Class name of javax.jdo.spi.JDOImplHelper |
static java.lang.String |
CN_LongIdentity
|
static java.lang.String |
CN_ObjectIdentity
|
static java.lang.String |
CN_ObjectIdFieldConsumer
Class name of javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer |
static java.lang.String |
CN_ObjectIdFieldSupplier
Class name of javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier |
static java.lang.String |
CN_PersistenceCapable
Class name of java.jdo.spi.PersistenceCapable |
static java.lang.String |
CN_PersistenceManager
Class name of javax.jdo.PersistenceManager |
static java.lang.String |
CN_ShortIdentity
|
static java.lang.String |
CN_StateManager
Class name of javax.jdo.spi.StateManager |
static java.lang.String |
CN_StringIdentity
Class name of SingleFieldIdentity classes |
static java.lang.String |
FN_FieldFlags
Field name of jdoFieldFlags |
static java.lang.String |
FN_FieldNames
Field name of jdoFieldNames |
static java.lang.String |
FN_FieldTypes
Field name of jdoFieldTypes |
static java.lang.String |
FN_Flag
Field name of jdoFlags |
static java.lang.String |
FN_JdoDetachedState
Field name of jdoDetachedState |
static java.lang.String |
FN_JdoLoadedFields
Field name of jdoLoadedFields |
static java.lang.String |
FN_JdoModifiedFields
Field name of jdoModifiedFields |
static java.lang.String |
FN_JdoObjectId
Field name of jdoObjectId |
static java.lang.String |
FN_JdoParentFieldCount
Field name of jdoFieldCount |
static java.lang.String |
FN_JdoVersion
Field name of jdoVersion |
static java.lang.String |
FN_PersistenceCapableSuperclass
Field name of jdoPersistenceCapableSuperclass |
static java.lang.String |
FN_serialVersionUID
Field name of serialVersionUID |
static java.lang.String |
FN_StateManager
Field name of jdoStateManager |
static java.lang.String |
MN_FieldFlagsInitMethod
Initializer of jdoFieldFlags |
static java.lang.String |
MN_FieldNamesInitMethod
Initializer name of jdoFieldName |
static java.lang.String |
MN_FieldTypesInitMethod
Initializer name of jdoFieldType |
static java.lang.String |
MN_JdoGetPersistenceManager
Method name of jdoGetPersistenceManager |
static java.lang.String |
MN_JdoIsDetached
Method name of jdoIsDetached |
static java.lang.String |
MN_JdoIsDetachedInternal
Method name of jdoIsDetachedInternal |
static java.lang.String |
MN_jdoLoadClass
Method name of jdoLoadClass |
static java.lang.String |
MN_JdoManagingFieldCountMethod
Method jdoGetManagedFieldCount |
static java.lang.String |
MN_JdoParentManagingFieldCountMethod
Method __jdoGetInheritedFieldCount |
static java.lang.String |
MN_JdoPreSerialize
Method name of jdoPreSerialize |
static java.lang.String |
MN_JdoSuperClone
Method jdoSuperClone |
static java.lang.String |
MN_PersistenceCapableSuperclassInitMethod
Method __jdoPersistenceCapableSuperclassInit |
| Method Summary | |
|---|---|
boolean |
checkEnhanced()
Check whether the class is enhanced. |
void |
enhance()
Method to enhance the class definition internally (but not write it). |
byte[] |
getBytes()
Access the class in byte array format |
org.jpox.ClassLoaderResolver |
getClassLoaderResolver()
Accessor for the ClassLoaderResolver in use. |
void |
store(java.lang.String dir)
Enhance the class writing to the specified location. |
void |
update()
Enhance the class, overwriting the existing class location. |
void |
verify()
Method to verify the enhancement state. |
| Field Detail |
|---|
static final java.lang.String FN_FieldNames
static final java.lang.String MN_FieldNamesInitMethod
static final java.lang.String FN_FieldTypes
static final java.lang.String MN_FieldTypesInitMethod
static final java.lang.String FN_Flag
static final java.lang.String CN_Flag
static final java.lang.String FN_FieldFlags
static final java.lang.String MN_FieldFlagsInitMethod
static final java.lang.String FN_PersistenceCapableSuperclass
static final java.lang.String FN_JdoParentFieldCount
static final java.lang.String FN_JdoDetachedState
static final java.lang.String FN_JdoObjectId
static final java.lang.String FN_JdoVersion
static final java.lang.String FN_JdoLoadedFields
static final java.lang.String FN_JdoModifiedFields
static final java.lang.String MN_JdoIsDetached
static final java.lang.String MN_JdoIsDetachedInternal
static final java.lang.String MN_JdoGetPersistenceManager
static final java.lang.String MN_JdoPreSerialize
static final java.lang.String MN_JdoParentManagingFieldCountMethod
static final java.lang.String MN_JdoSuperClone
static final java.lang.String MN_JdoManagingFieldCountMethod
static final java.lang.String MN_PersistenceCapableSuperclassInitMethod
static final java.lang.String FN_StateManager
static final java.lang.String CN_StateManager
static final java.lang.String CN_PersistenceCapable
static final java.lang.String CN_Detachable
static final java.lang.String CN_JDOHelper
static final java.lang.String CN_JDOImplHelper
static final java.lang.String CN_JDOFatalInternalException
static final java.lang.String CN_BitSet
static final java.lang.String CN_Class
static final java.lang.String CN_StringIdentity
static final java.lang.String CN_LongIdentity
static final java.lang.String CN_IntIdentity
static final java.lang.String CN_ShortIdentity
static final java.lang.String CN_ByteIdentity
static final java.lang.String CN_CharIdentity
static final java.lang.String CN_ObjectIdentity
static final java.lang.String CN_PersistenceManager
static final java.lang.String CN_ObjectIdFieldConsumer
static final java.lang.String CN_ObjectIdFieldSupplier
static final java.lang.String MN_jdoLoadClass
static final java.lang.String CN_IllegalArgumentException
static final java.lang.String CN_ClassCastException
static final java.lang.String CN_JDODetachedFieldAccessException
static final java.lang.String CN_IllegalStateException
static final java.lang.String FN_serialVersionUID
| Method Detail |
|---|
boolean checkEnhanced()
void verify()
throws java.lang.Exception
java.lang.Exception - Thrown if an error occurs while verifyingvoid enhance()
void update()
throws java.io.IOException
java.io.IOException - If an I/O error occurs in the write.
void store(java.lang.String dir)
throws java.io.IOException
dir - Directory into which we write the new class definition
java.io.IOException - If an I/O error occurs in the writebyte[] getBytes()
org.jpox.ClassLoaderResolver getClassLoaderResolver()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||