public interface ByteCodeEnhancer
| 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 in,
OutputStreamWrapper out)
Enhances a given class according to the JDO meta-data.
|
boolean enhanceClassFile(InputStream inByteCode, OutputStream outByteCode) throws EnhancerUserException, EnhancerFatalError
inByteCode - 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.EnhancerUserExceptionEnhancerFatalErrorboolean enhanceClassFile(InputStream in, OutputStreamWrapper out) throws EnhancerUserException, EnhancerFatalError
in - The byte-code of the class to be enhanced.out - The byte-code of the enhanced class.true if the class has been enhanced,
false otherwise.EnhancerUserExceptionEnhancerFatalErrorCopyright © 2013. All Rights Reserved.