Tuscany Core

org.apache.tuscany.core.wire.jdk
Class JDKWireFactoryFactory

java.lang.Object
  extended by org.apache.tuscany.core.wire.jdk.JDKWireFactoryFactory
All Implemented Interfaces:
WireFactoryFactory

public class JDKWireFactoryFactory
extends Object
implements WireFactoryFactory

A system service that creates JDK dynamic proxy-based WireFactorys

Version:
$Rev$ $Date$

Constructor Summary
JDKWireFactoryFactory()
           
 
Method Summary
 SourceWireFactory createSourceWireFactory()
          Creates a source-side wire factory
 TargetWireFactory createTargetWireFactory()
          Creates a target-side wire factory
 InvocationHandler getHandler(Object proxy)
          Returns an wire handler fronting the wire chains used by the proxy.
 void init()
           
 boolean isProxy(Object object)
          Determines whether the given object is a proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKWireFactoryFactory

public JDKWireFactoryFactory()
Method Detail

init

public void init()

createTargetWireFactory

public TargetWireFactory createTargetWireFactory()
Description copied from interface: WireFactoryFactory
Creates a target-side wire factory

Specified by:
createTargetWireFactory in interface WireFactoryFactory

createSourceWireFactory

public SourceWireFactory createSourceWireFactory()
Description copied from interface: WireFactoryFactory
Creates a source-side wire factory

Specified by:
createSourceWireFactory in interface WireFactoryFactory

isProxy

public boolean isProxy(Object object)
Description copied from interface: WireFactoryFactory
Determines whether the given object is a proxy

Specified by:
isProxy in interface WireFactoryFactory

getHandler

public InvocationHandler getHandler(Object proxy)
Description copied from interface: WireFactoryFactory
Returns an wire handler fronting the wire chains used by the proxy. Note that should SCA define a DII, this could return such an interface.

Specified by:
getHandler in interface WireFactoryFactory

Tuscany Core

-