|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ByteCodeEnhancer
A JDO enhancer, or byte-code enhancer, modifies the byte-codes of Java class files to enable transparent loading and storing of the fields of the persistent instances.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
EnhancerUserException
EnhancerFatalError
boolean 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.
EnhancerUserException
EnhancerFatalError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||