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
 java.lang.reflect.InvocationHandler getHandler(java.lang.Object proxy)
          Returns an wire handler fronting the wire chains used by the proxy.
 boolean isProxy(java.lang.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(java.lang.Object object)
Determines whether the given object is a proxy


getHandler

java.lang.reflect.InvocationHandler getHandler(java.lang.Object proxy)
                                               throws java.lang.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:
java.lang.IllegalArgumentException - if the class is not a proxy

Tuscany Core

-