org.fabric3.implementation.proxy.jdk
Class WireObjectFactory<T>
java.lang.Object
org.fabric3.implementation.proxy.jdk.WireObjectFactory<T>
- All Implemented Interfaces:
- org.fabric3.spi.objectfactory.ObjectFactory<T>
public class WireObjectFactory<T>
- extends Object
- implements org.fabric3.spi.objectfactory.ObjectFactory<T>
Creates a proxy for a wire that implements a specified interface.
- Version:
- $Rev: 9763 $ $Date: 2011-01-03 00:48:06 +0000 (Mon, 03 Jan 2011) $
|
Constructor Summary |
WireObjectFactory(Class<T> interfaze,
org.fabric3.spi.model.physical.InteractionType type,
String callbackUri,
org.fabric3.implementation.pojo.builder.WireProxyService proxyService,
Map<Method,org.fabric3.spi.wire.InvocationChain> mappings)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WireObjectFactory
public WireObjectFactory(Class<T> interfaze,
org.fabric3.spi.model.physical.InteractionType type,
String callbackUri,
org.fabric3.implementation.pojo.builder.WireProxyService proxyService,
Map<Method,org.fabric3.spi.wire.InvocationChain> mappings)
throws NoMethodForOperationException
- Constructor.
- Parameters:
interfaze - the interface the proxy implementstype - if the wire is stateless, conversational or propagates a conversational contextcallbackUri - the callback URI for the wire or null if the wire is unidirectionalproxyService - the proxy creation servicemappings - proxy method to wire invocation chain mappings
- Throws:
NoMethodForOperationException - if a method matching the operation cannot be found
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
Copyright © 2007-2011 Metaform Systems.