|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.core.wire.jdk.JDKTargetWireFactory
public class JDKTargetWireFactory
Creates proxies that are returned to non-SCA clients using JDK dynamic proxy facilities and front a wire. The proxies implement the business interface associated with the target service of the wire and are typically returned by a locate operation.
Constructor Summary | |
---|---|
JDKTargetWireFactory()
|
Method Summary | |
---|---|
void |
addInterface(java.lang.Class claz)
Adds an interface type generated proxies implement |
java.lang.Object |
createProxy()
Returns a proxy for a service specified by a reference or target |
java.lang.Class |
getBusinessInterface()
Returns the primary interface type implemented by generated proxies |
WireTargetConfiguration |
getConfiguration()
Returns the configuration information used to create the target-side of a wire, including invocation chains |
java.lang.Class[] |
getImplementatedInterfaces()
Returns an array of all interfaces implemented by generated proxies |
void |
initialize()
Prepares the factory. |
void |
setBusinessInterface(java.lang.Class interfaze)
Sets the primary interface type generated proxies implement |
void |
setConfiguration(WireTargetConfiguration config)
Sets the configuration information used to create the target-side of a wire, including invocation chains |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDKTargetWireFactory()
Method Detail |
---|
public void initialize() throws WireFactoryInitException
WireFactory
initialize
in interface WireFactory
WireFactoryInitException
- if an error is encountered during initializationpublic java.lang.Object createProxy()
WireFactory
createProxy
in interface WireFactory
public WireTargetConfiguration getConfiguration()
TargetWireFactory
getConfiguration
in interface TargetWireFactory
public void setConfiguration(WireTargetConfiguration config)
TargetWireFactory
setConfiguration
in interface TargetWireFactory
public void setBusinessInterface(java.lang.Class interfaze)
WireFactory
setBusinessInterface
in interface WireFactory
public java.lang.Class getBusinessInterface()
WireFactory
getBusinessInterface
in interface WireFactory
public void addInterface(java.lang.Class claz)
WireFactory
addInterface
in interface WireFactory
public java.lang.Class[] getImplementatedInterfaces()
WireFactory
getImplementatedInterfaces
in interface WireFactory
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |