|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.ProxyFactory
public final class ProxyFactory
Static factory create java.lang.reflect.Proxy
instances.
The factory provides the mechanism behind the service interceptor
functionality of the services package.
Method Summary | |
---|---|
static java.lang.Object |
getProxyObject(java.lang.Object realObj,
Interceptor[] interceptor)
Return a Proxy instance that wraps the given Object instance for each of the provided Interceptor instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Object getProxyObject(java.lang.Object realObj, Interceptor[] interceptor) throws ServiceException
realObj
- Object instance that proxy must be created.interceptor
- Array of interceptor instances.
ServiceException
- if the Object cannot be proxied.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |