Fabric3 JDK Proxy Extension

org.fabric3.implementation.proxy.jdk
Class WireObjectFactory<T>

java.lang.Object
  extended by 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.
 
Method Summary
 T getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 implements
type - if the wire is stateless, conversational or propagates a conversational context
callbackUri - the callback URI for the wire or null if the wire is unidirectional
proxyService - the proxy creation service
mappings - proxy method to wire invocation chain mappings
Throws:
NoMethodForOperationException - if a method matching the operation cannot be found
Method Detail

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

Fabric3 JDK Proxy Extension

Copyright © 2007-2011 Metaform Systems.