|
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.WireConfiguration<T>
public abstract class WireConfiguration<T extends InvocationConfiguration>
Contains configuration for a wire, including its invocation chains. Invocation chains are accessed from the collection of
InvocationConfiguration
s keyed by operation on the service specified by the source reference or target service.
WireConfiguration
subtypes distinguish between source and target sides of a wire and hence return corresponding
InvocationChain
subtypes. Operations are represented using JDK reflection, i.e. as a Method
corresponding to the Java interface representing the service.
Field Summary | |
---|---|
protected java.util.Map<java.lang.reflect.Method,T> |
configurations
|
protected MessageFactory |
messageFactory
|
protected java.lang.ClassLoader |
proxyClassLoader
|
protected QualifiedName |
targetName
|
Constructor Summary | |
---|---|
WireConfiguration(QualifiedName targetName,
java.lang.ClassLoader proxyClassLoader,
MessageFactory messageFactory)
Creates the configuration |
Method Summary | |
---|---|
java.util.Map<java.lang.reflect.Method,T> |
getInvocationConfigurations()
Returns the invocation configuration for each operation on a service specified by a reference or a target service. |
MessageFactory |
getMessageFactory()
Returns the factory used to create invocation messages |
java.lang.ClassLoader |
getProxyClassLoader()
Returns the classloader used for creating proxies |
QualifiedName |
getTargetName()
Returns the qualified name of the target service specified by the wire |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map<java.lang.reflect.Method,T extends InvocationConfiguration> configurations
protected java.lang.ClassLoader proxyClassLoader
protected MessageFactory messageFactory
protected QualifiedName targetName
Constructor Detail |
---|
public WireConfiguration(QualifiedName targetName, java.lang.ClassLoader proxyClassLoader, MessageFactory messageFactory)
targetName
- the qualified name of the target service specified by the wireproxyClassLoader
- the classloader to use when creating a proxymessageFactory
- the factory used to create wire messagesMethod Detail |
---|
public QualifiedName getTargetName()
public java.lang.ClassLoader getProxyClassLoader()
public MessageFactory getMessageFactory()
public java.util.Map<java.lang.reflect.Method,T> getInvocationConfigurations()
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |