Fabric3 JDK Proxy Extension

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

java.lang.Object
  extended by 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: 9763 $ $Date: 2011-01-03 00:48:06 +0000 (Mon, 03 Jan 2011) $

Constructor Summary
CallbackWireObjectFactory(Class<T> interfaze, org.fabric3.spi.component.ScopeContainer container, org.fabric3.implementation.pojo.builder.WireProxyService proxyService, Map<String,Map<Method,org.fabric3.spi.wire.InvocationChain>> mappings)
          Constructor.
 
Method Summary
 T getInstance()
           
 void updateMappings(String callbackUri, Map<Method,org.fabric3.spi.wire.InvocationChain> chains)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackWireObjectFactory

public CallbackWireObjectFactory(Class<T> interfaze,
                                 org.fabric3.spi.component.ScopeContainer container,
                                 org.fabric3.implementation.pojo.builder.WireProxyService proxyService,
                                 Map<String,Map<Method,org.fabric3.spi.wire.InvocationChain>> mappings)
Constructor.

Parameters:
interfaze - the proxy interface
container - the scope container of the component implementation the proxy will be injected on
proxyService - the service for creating proxies
mappings - the callback URI to invocation chain mappings
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

updateMappings

public void updateMappings(String callbackUri,
                           Map<Method,org.fabric3.spi.wire.InvocationChain> chains)

Fabric3 JDK Proxy Extension

Copyright © 2007-2011 Metaform Systems.