|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
All enhanced instances returned by the Enhancer class implement this interface.
| Method Summary | |
MethodInterceptor |
interceptor()
Returns the current interceptor in use. |
void |
interceptor(MethodInterceptor ih)
Set the current interceptor for this object. |
java.lang.Object |
newInstance(java.lang.Class[] types,
java.lang.Object[] args,
MethodInterceptor ih)
Creates a new instance of the same type, using the constructor matching the given signature. |
java.lang.Object |
newInstance(MethodInterceptor ih)
Creates new instance of the same type, using the no-arg constructor. |
| Method Detail |
public java.lang.Object newInstance(MethodInterceptor ih)
ih - the new interceptor to use
public MethodInterceptor interceptor()
public java.lang.Object newInstance(java.lang.Class[] types,
java.lang.Object[] args,
MethodInterceptor ih)
types - the constructor signatureargs - the constructor argumentsih - the new interceptor to usepublic void interceptor(MethodInterceptor ih)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||