org.fabric3.implementation.proxy.jdk
Class JDKWireProxyService
java.lang.Object
org.fabric3.implementation.proxy.jdk.JDKWireProxyService
- All Implemented Interfaces:
- org.fabric3.implementation.pojo.builder.WireProxyService
public class JDKWireProxyService
- extends Object
- implements org.fabric3.implementation.pojo.builder.WireProxyService
The default WireProxyService implementation that uses JDK dynamic proxies.
- Version:
- $$Rev: 9763 $$ $$Date: 2011-01-03 00:48:06 +0000 (Mon, 03 Jan 2011) $$
|
Method Summary |
<B,R extends org.oasisopen.sca.ServiceReference<B>>
R |
|
cast(B target)
|
<T> org.fabric3.spi.objectfactory.ObjectFactory<T> |
|
createCallbackObjectFactory(Class<T> interfaze,
org.fabric3.spi.component.ScopeContainer container,
URI callbackUri,
org.fabric3.spi.wire.Wire wire)
|
|
createCallbackProxy(Class<T> interfaze,
Map<String,Map<Method,org.fabric3.spi.wire.InvocationChain>> mappings)
|
<T> org.fabric3.spi.objectfactory.ObjectFactory<T> |
|
createObjectFactory(Class<T> interfaze,
org.fabric3.spi.model.physical.InteractionType type,
org.fabric3.spi.wire.Wire wire,
String callbackUri)
|
|
createProxy(Class<T> interfaze,
org.fabric3.spi.model.physical.InteractionType type,
String callbackUri,
Map<Method,org.fabric3.spi.wire.InvocationChain> mappings)
|
|
createStatefullCallbackProxy(Class<T> interfaze,
Map<Method,org.fabric3.spi.wire.InvocationChain> mapping,
org.fabric3.spi.component.ScopeContainer container)
|
<T> org.fabric3.spi.objectfactory.ObjectFactory<?> |
|
updateCallbackObjectFactory(org.fabric3.spi.objectfactory.ObjectFactory<?> factory,
Class<T> interfaze,
org.fabric3.spi.component.ScopeContainer container,
URI callbackUri,
org.fabric3.spi.wire.Wire wire)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDKWireProxyService
public JDKWireProxyService()
JDKWireProxyService
public JDKWireProxyService(org.fabric3.spi.classloader.ClassLoaderRegistry classLoaderRegistry,
org.fabric3.spi.component.ScopeRegistry scopeRegistry)
createObjectFactory
public <T> org.fabric3.spi.objectfactory.ObjectFactory<T> createObjectFactory(Class<T> interfaze,
org.fabric3.spi.model.physical.InteractionType type,
org.fabric3.spi.wire.Wire wire,
String callbackUri)
throws org.fabric3.implementation.pojo.builder.ProxyCreationException
- Specified by:
createObjectFactory in interface org.fabric3.implementation.pojo.builder.WireProxyService
- Throws:
org.fabric3.implementation.pojo.builder.ProxyCreationException
createCallbackObjectFactory
public <T> org.fabric3.spi.objectfactory.ObjectFactory<T> createCallbackObjectFactory(Class<T> interfaze,
org.fabric3.spi.component.ScopeContainer container,
URI callbackUri,
org.fabric3.spi.wire.Wire wire)
throws org.fabric3.implementation.pojo.builder.ProxyCreationException
- Specified by:
createCallbackObjectFactory in interface org.fabric3.implementation.pojo.builder.WireProxyService
- Throws:
org.fabric3.implementation.pojo.builder.ProxyCreationException
updateCallbackObjectFactory
public <T> org.fabric3.spi.objectfactory.ObjectFactory<?> updateCallbackObjectFactory(org.fabric3.spi.objectfactory.ObjectFactory<?> factory,
Class<T> interfaze,
org.fabric3.spi.component.ScopeContainer container,
URI callbackUri,
org.fabric3.spi.wire.Wire wire)
throws org.fabric3.implementation.pojo.builder.ProxyCreationException
- Specified by:
updateCallbackObjectFactory in interface org.fabric3.implementation.pojo.builder.WireProxyService
- Throws:
org.fabric3.implementation.pojo.builder.ProxyCreationException
createProxy
public <T> T createProxy(Class<T> interfaze,
org.fabric3.spi.model.physical.InteractionType type,
String callbackUri,
Map<Method,org.fabric3.spi.wire.InvocationChain> mappings)
throws org.fabric3.implementation.pojo.builder.ProxyCreationException
- Specified by:
createProxy in interface org.fabric3.implementation.pojo.builder.WireProxyService
- Throws:
org.fabric3.implementation.pojo.builder.ProxyCreationException
createCallbackProxy
public <T> T createCallbackProxy(Class<T> interfaze,
Map<String,Map<Method,org.fabric3.spi.wire.InvocationChain>> mappings)
throws org.fabric3.implementation.pojo.builder.ProxyCreationException
- Specified by:
createCallbackProxy in interface org.fabric3.implementation.pojo.builder.WireProxyService
- Throws:
org.fabric3.implementation.pojo.builder.ProxyCreationException
createStatefullCallbackProxy
public <T> T createStatefullCallbackProxy(Class<T> interfaze,
Map<Method,org.fabric3.spi.wire.InvocationChain> mapping,
org.fabric3.spi.component.ScopeContainer container)
- Specified by:
createStatefullCallbackProxy in interface org.fabric3.implementation.pojo.builder.WireProxyService
cast
public <B,R extends org.oasisopen.sca.ServiceReference<B>> R cast(B target)
throws IllegalArgumentException
- Specified by:
cast in interface org.fabric3.implementation.pojo.builder.WireProxyService
- Throws:
IllegalArgumentException
Copyright © 2007-2011 Metaform Systems.