org.fabric3.implementation.proxy.jdk
Class CallbackWireObjectFactory<T>
java.lang.Object
org.fabric3.implementation.proxy.jdk.CallbackWireObjectFactory<T>
- All Implemented Interfaces:
- org.fabric3.spi.objectfactory.ObjectFactory<T>
public class CallbackWireObjectFactory<T>
- extends Object
- implements org.fabric3.spi.objectfactory.ObjectFactory<T>
Returns a proxy instance for a callback wire.
- Version:
- $Rev: 11083 $ $Date: 2012-06-21 10:38:50 +0000 (Thu, 21 Jun 2012) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallbackWireObjectFactory
public CallbackWireObjectFactory(Class<T> interfaze,
boolean multiThreaded,
org.fabric3.implementation.pojo.builder.WireProxyService proxyService,
Map<String,Map<Method,org.fabric3.spi.wire.InvocationChain>> mappings)
- Constructor.
- Parameters:
interfaze - the proxy interfacemultiThreaded - if the proxy must be thread safeproxyService - the service for creating proxiesmappings - the callback URI to invocation chain mappings
getInstance
public T getInstance()
throws org.fabric3.spi.objectfactory.ObjectCreationException
- Specified by:
getInstance in interface org.fabric3.spi.objectfactory.ObjectFactory<T>
- Throws:
org.fabric3.spi.objectfactory.ObjectCreationException
updateMappings
public void updateMappings(String callbackUri,
Map<Method,org.fabric3.spi.wire.InvocationChain> chains)
Copyright © 2007-2012 Metaform Systems.