|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.proxy.ProxyUtils
public class ProxyUtils
Utility class to create proxies.
Method Summary | |
---|---|
static Object |
createBeanAccessProviderProxy(ServiceBeanAccessProvider provider,
Class... proxyInterfacesOrDelegateeClass)
Creates and returns a dynamic proxy which invokes the underlying service bean access provider. |
static Object |
createdUnsupportableProxyObject(Object target,
Set<String> unsupportedMethodNames,
Class... proxyInterfaces)
Creates and returns a dynamic proxy which throws UnsupportedOperationException
for some operations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Object createdUnsupportableProxyObject(Object target, Set<String> unsupportedMethodNames, Class... proxyInterfaces)
UnsupportedOperationException
for some operations.
This can be useful if you create a proxy with some methods unsupported.
target
- the proxied target objectunsupportedMethodNames
- proxyInterfaces
- the interfaces the created proxy should implement
public static Object createBeanAccessProviderProxy(ServiceBeanAccessProvider provider, Class... proxyInterfacesOrDelegateeClass)
provider
- the underlying service bean access providerproxyInterfacesOrDelegateeClass
- the interfaces the proxy should implement or delegatee class which may implement interface(s).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |