Tuscany Assembly Model

org.apache.tuscany.model.assembly.impl
Class ServiceURIImpl

java.lang.Object
  extended by org.apache.tuscany.model.assembly.impl.ServiceURIImpl
All Implemented Interfaces:
ServiceURI

public class ServiceURIImpl
extends java.lang.Object
implements ServiceURI

An implementation of ServiceURI.


Constructor Summary
protected ServiceURIImpl(ModuleComponent moduleComponent, Part part, ConfiguredPort configuredPort)
          Constructs a new ServiceURIImpl.
protected ServiceURIImpl(ModuleComponent moduleComponent, java.lang.String targetServiceName)
          Constructor
protected ServiceURIImpl(ModuleComponent moduleComponent, java.lang.String partName, java.lang.String portName)
          Constructs a new ServiceURIImpl.
protected ServiceURIImpl(java.lang.String address)
          Constructs a new ServiceURIImpl.
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getModuleComponentName()
          Returns the module component name
 java.lang.String getPartName()
          Returns the part name
 java.lang.String getPath()
           
 java.lang.String getServiceName()
          Returns the service name
 boolean isSCAScheme()
          Returns true if the address scheme is sca
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceURIImpl

protected ServiceURIImpl(java.lang.String address)
Constructs a new ServiceURIImpl.

Parameters:
address -

ServiceURIImpl

protected ServiceURIImpl(ModuleComponent moduleComponent,
                         java.lang.String partName,
                         java.lang.String portName)
Constructs a new ServiceURIImpl.

Parameters:
moduleComponent -
partName -
portName -

ServiceURIImpl

protected ServiceURIImpl(ModuleComponent moduleComponent,
                         Part part,
                         ConfiguredPort configuredPort)
Constructs a new ServiceURIImpl.

Parameters:
moduleComponent -
configuredPort -

ServiceURIImpl

protected ServiceURIImpl(ModuleComponent moduleComponent,
                         java.lang.String targetServiceName)
Constructor

Parameters:
moduleComponent -
targetServiceName -
Method Detail

isSCAScheme

public boolean isSCAScheme()
Description copied from interface: ServiceURI
Returns true if the address scheme is sca

Specified by:
isSCAScheme in interface ServiceURI
Returns:

getAddress

public java.lang.String getAddress()
Specified by:
getAddress in interface ServiceURI
Returns:
Returns the address.

getPath

public java.lang.String getPath()
Specified by:
getPath in interface ServiceURI
Returns:
Returns the path.

getModuleComponentName

public java.lang.String getModuleComponentName()
Returns the module component name

Specified by:
getModuleComponentName in interface ServiceURI
Returns:

getPartName

public java.lang.String getPartName()
Returns the part name

Specified by:
getPartName in interface ServiceURI
Returns:

getServiceName

public java.lang.String getServiceName()
Returns the service name

Specified by:
getServiceName in interface ServiceURI
Returns:

Tuscany Assembly Model

-