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<T>
public class WireObjectFactory<T>
- extends Object
- implements org.fabric3.spi.ObjectFactory<T>
Creates a proxy for a wire that implements a provided interface
- Version:
- $Rev: 7907 $ $Date: 2009-11-23 16:45:42 +0100 (Mon, 23 Nov 2009) $
|
Constructor Summary |
WireObjectFactory(Class<T> interfaze,
org.fabric3.spi.model.physical.InteractionType type,
String callbackUri,
org.fabric3.implementation.pojo.builder.ProxyService 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.ProxyService proxyService,
Map<Method,org.fabric3.spi.wire.InvocationChain> mappings)
throws NoMethodForOperationException
- Constructor.
- Parameters:
interfaze - the interface to inject on the clienttype - 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 wire service to create the proxymappings - 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.ObjectCreationException
- Specified by:
getInstance in interface org.fabric3.spi.ObjectFactory<T>
- Throws:
org.fabric3.spi.ObjectCreationException
Copyright © 2007-2010 Metaform Systems.