Tuscany Core

org.apache.tuscany.core.wire
Interface WireFactoryFactory

All Known Implementing Classes:
JDKWireFactoryFactory

public interface WireFactoryFactory

Implementations provide a runtime system service that creates WireFactorys

Version:
$Rev$ $Date$

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.
 boolean isProxy(Object object)
          Determines whether the given object is a proxy
 

Method Detail

createTargetWireFactory

TargetWireFactory createTargetWireFactory()
Creates a target-side wire factory


createSourceWireFactory

SourceWireFactory createSourceWireFactory()
Creates a source-side wire factory


isProxy

boolean isProxy(Object object)
Determines whether the given object is a proxy


getHandler

InvocationHandler getHandler(Object proxy)
                             throws IllegalArgumentException
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.

Throws:
IllegalArgumentException - if the class is not a proxy

Tuscany Core

-