|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProxyFactory
Method Summary | |
---|---|
InvocationHandler |
getInvocationHandler(Object proxy)
Returns the invocation handler for the specified proxy instance. |
Class |
getProxyClass(Class interfce)
Returns the java.lang.Class object for a proxy class given a class loader and an array of interfaces. |
Class |
getProxyClass(Class[] interfaces)
Returns the java.lang.Class object for a proxy class given a class loader and an array of interfaces. |
void |
init(Properties props)
|
boolean |
isProxyClass(Class cl)
|
Object |
newProxyInstance(Class proxyClass)
Returns a new proxy instance from the specified proxy class. |
Object |
newProxyInstance(Class[] interfaces,
InvocationHandler h)
|
Object |
newProxyInstance(Class interfce,
InvocationHandler h)
|
Object |
setInvocationHandler(Object proxy,
InvocationHandler handler)
Sets the invocation handler for the specified proxy instance. |
Method Detail |
---|
void init(Properties props) throws OpenEJBException
OpenEJBException
InvocationHandler getInvocationHandler(Object proxy) throws IllegalArgumentException
IllegalArgumentException
Object setInvocationHandler(Object proxy, InvocationHandler handler) throws IllegalArgumentException
IllegalArgumentException
Class getProxyClass(Class interfce) throws IllegalArgumentException
IllegalArgumentException
Class getProxyClass(Class[] interfaces) throws IllegalArgumentException
IllegalArgumentException
boolean isProxyClass(Class cl)
Object newProxyInstance(Class interfce, InvocationHandler h) throws IllegalArgumentException
IllegalArgumentException
Object newProxyInstance(Class[] interfaces, InvocationHandler h) throws IllegalArgumentException
IllegalArgumentException
Object newProxyInstance(Class proxyClass) throws IllegalArgumentException
IllegalArgumentException
- Occurs when the specified class is not a proxy class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |