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: 11083 $ $Date: 2012-06-21 10:38:50 +0000 (Thu, 21 Jun 2012) $
|
Constructor Summary |
WireObjectFactory(Class<T> interfaze,
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,
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 implementscallbackUri - 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-2012 Metaform Systems.