Tuscany Core

org.apache.tuscany.core.wire
Class WireSourceConfiguration

java.lang.Object
  extended by org.apache.tuscany.core.wire.WireConfiguration<SourceInvocationConfiguration>
      extended by org.apache.tuscany.core.wire.WireSourceConfiguration

public class WireSourceConfiguration
extends WireConfiguration<SourceInvocationConfiguration>

Contains configuration for the source side of a wire

Version:
$Rev: 394379 $ $Date: 2006-04-15 15:01:36 -0700 (Sat, 15 Apr 2006) $

Field Summary
 
Fields inherited from class org.apache.tuscany.core.wire.WireConfiguration
configurations, messageFactory, proxyClassLoader, targetName
 
Constructor Summary
WireSourceConfiguration(QualifiedName targetName, java.util.Map<java.lang.reflect.Method,SourceInvocationConfiguration> invocationConfigs, java.lang.ClassLoader proxyClassLoader, MessageFactory messageFactory)
          Creates the source side of a wire where the reference is "anonymous", i.e.
WireSourceConfiguration(java.lang.String referenceName, QualifiedName targetName, java.util.Map<java.lang.reflect.Method,SourceInvocationConfiguration> invocationConfigs, java.lang.ClassLoader proxyClassLoader, MessageFactory messageFactory)
          Creates the source side of a wire
 
Method Summary
 java.lang.String getReferenceName()
          Returns the name of the source reference
 
Methods inherited from class org.apache.tuscany.core.wire.WireConfiguration
getInvocationConfigurations, getMessageFactory, getProxyClassLoader, getTargetName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WireSourceConfiguration

public WireSourceConfiguration(java.lang.String referenceName,
                               QualifiedName targetName,
                               java.util.Map<java.lang.reflect.Method,SourceInvocationConfiguration> invocationConfigs,
                               java.lang.ClassLoader proxyClassLoader,
                               MessageFactory messageFactory)
Creates the source side of a wire

Parameters:
referenceName - the name of the reference the wire is associated with
targetName - the qualified name of the target service specified by the wire
invocationConfigs - a collection of service operation-to-invocation chain mappings
proxyClassLoader - the classloader to use when creating a proxy
messageFactory - the factory used to create wire messages

WireSourceConfiguration

public WireSourceConfiguration(QualifiedName targetName,
                               java.util.Map<java.lang.reflect.Method,SourceInvocationConfiguration> invocationConfigs,
                               java.lang.ClassLoader proxyClassLoader,
                               MessageFactory messageFactory)
Creates the source side of a wire where the reference is "anonymous", i.e. on an entry point

Parameters:
targetName - the qualified name of the target service specified by the wire
invocationConfigs - a collection of service operation-to-invocation chain mappings
proxyClassLoader - the classloader to use when creating a proxy
messageFactory - the factory used to create wire messages
Method Detail

getReferenceName

public java.lang.String getReferenceName()
Returns the name of the source reference


Tuscany Core

-