public final class ByteCodeEnhancerTimer extends Support implements ByteCodeEnhancer
| Modifier and Type | Field and Description |
|---|---|
protected ByteCodeEnhancer |
delegate |
| Constructor and Description |
|---|
ByteCodeEnhancerTimer(ByteCodeEnhancer delegate)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
enhanceClassFile(InputStream inByteCode,
OutputStream outByteCode)
Enhances a given class according to the JDO meta-data.
|
boolean |
enhanceClassFile(InputStream inByteCode,
OutputStreamWrapper outByteCode)
Enhances a given class according to the JDO meta-data.
|
getI18N, getI18N, getI18N, getI18N, getI18N, getI18Nprotected final ByteCodeEnhancer delegate
public ByteCodeEnhancerTimer(ByteCodeEnhancer delegate)
public boolean enhanceClassFile(InputStream inByteCode, OutputStream outByteCode) throws EnhancerUserException, EnhancerFatalError
ByteCodeEnhancerenhanceClassFile in interface ByteCodeEnhancerinByteCode - The byte-code of the class to be enhanced.outByteCode - The byte-code of the enhanced class.true if the class has been enhanced,
false otherwise.EnhancerUserExceptionEnhancerFatalErrorpublic boolean enhanceClassFile(InputStream inByteCode, OutputStreamWrapper outByteCode) throws EnhancerUserException, EnhancerFatalError
ByteCodeEnhancerenhanceClassFile in interface ByteCodeEnhancerinByteCode - The byte-code of the class to be enhanced.outByteCode - The byte-code of the enhanced class.true if the class has been enhanced,
false otherwise.EnhancerUserExceptionEnhancerFatalErrorCopyright © 2013. All Rights Reserved.