public class ProxyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
createBeanAccessProviderProxy(ServiceBeanAccessProvider provider,
Class... proxyInterfacesOrDelegateeClass)
Deprecated.
since 2.28.05 (CMS 7.9.1). Do not use any more. No replacement
|
static Object |
createdUnsupportableProxyObject(Object target,
Set<String> unsupportedMethodNames,
Class... proxyInterfaces)
Creates and returns a dynamic proxy which throws
UnsupportedOperationException
for some operations. |
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@Deprecated 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).Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.