| Modifier and Type | Field and Description |
|---|---|
| protected Map | classDetailsMap
Class name in JVM '/' format to |
| Access | Constructor and Description |
|---|---|
| public | PersistenceWeaver(final Map<String, ClassDetails>
Class name to classDetailsMap)ClassDetails map.INTERNAL: Creates an instance of dynamic byte code weaver. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Map | Returns: Class name in JVM '/' format toClassDetails map.INTERNAL:
Get Class name in JVM '/' format to |
| protected static String | Returns: Unqualified class name.Class name with name)'/' as delimiter.INTERNAL: Returns an unqualified class name from the specified class name. |
| public byte[] | Returns: A well-formed class file buffer (the result of the transform), ornull if no transform
is performed.The defining loader of the class to be transformed, may be loader, final String null
if the bootstrap loader.The name of the class in the internal form of fully qualified class and interface
names. className, final Class<?> If this is a redefine, the class being redefined, otherwise classBeingRedefined, final ProtectionDomain null.The protection domain of the class being defined or redefined. protectionDomain, final byte[] The input byte buffer in class file format (must not be modified). classfileBuffer)Implements jakarta. |
| classDetailsMap | back to summary |
|---|---|
| protected Map<String, ClassDetails> classDetailsMap Class name in JVM '/' format to | |
| PersistenceWeaver | back to summary |
|---|---|
| public PersistenceWeaver(final Map<String, ClassDetails> classDetailsMap) INTERNAL: Creates an instance of dynamic byte code weaver.
| |
| clear | back to summary |
|---|---|
| public void clear() INTERNAL: Allow the weaver to be clear to release its referenced memory. This is required because the class loader reference to the transformer will never gc. | |
| getClassDetailsMap | back to summary |
|---|---|
| public Map INTERNAL:
Get Class name in JVM '/' format to
| |
| getShortName | back to summary |
|---|---|
| protected static String getShortName(String name) INTERNAL: Returns an unqualified class name from the specified class name. | |
| transform | back to summary |
|---|---|
| public byte[] transform(final ClassLoader loader, final String className, final Class<?> classBeingRedefined, final ProtectionDomain protectionDomain, final byte[] classfileBuffer) throws TransformerException Implements jakarta. INTERNAL: Perform dynamic byte code weaving of class.
| |