Tuscany Assembly Model

org.apache.tuscany.model.types.java.impl
Class JavaServiceContractImpl

java.lang.Object
  extended by org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
      extended by org.apache.tuscany.model.assembly.impl.ExtensibleImpl
          extended by org.apache.tuscany.model.assembly.impl.ServiceContractImpl
              extended by org.apache.tuscany.model.types.java.impl.JavaServiceContractImpl
All Implemented Interfaces:
AssemblyObject, Extensible, ServiceContract, JavaServiceContract

public class JavaServiceContractImpl
extends ServiceContractImpl
implements JavaServiceContract

An implementation of JavaServiceContract.


Constructor Summary
JavaServiceContractImpl()
          Constructor
 
Method Summary
 java.lang.String getCallbackInterfaceName()
           
 java.lang.String getInterfaceName()
           
 void initialize(AssemblyContext modelContext)
          Initialize this model object.
 void setCallbackInterfaceName(java.lang.String callbackInterfaceName)
           
 void setInterfaceName(java.lang.String interfaceName)
           
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.ServiceContractImpl
getCallbackInterface, getInterface, getScope, setCallbackInterface, setInterface, setScope
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.ExtensibleImpl
accept, freeze, getExtensibilityAttributes, getExtensibilityElements
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
accept, checkInitialized, checkNotFrozen, freeze, initialize, isFrozen, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.model.assembly.ServiceContract
getCallbackInterface, getInterface, getScope, setCallbackInterface, setInterface, setScope
 
Methods inherited from interface org.apache.tuscany.model.assembly.Extensible
getExtensibilityAttributes, getExtensibilityElements
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject
accept, freeze
 

Constructor Detail

JavaServiceContractImpl

public JavaServiceContractImpl()
Constructor

Method Detail

setInterfaceName

public void setInterfaceName(java.lang.String interfaceName)
Specified by:
setInterfaceName in interface JavaServiceContract
Parameters:
interfaceName - The interfaceName to set.

setCallbackInterfaceName

public void setCallbackInterfaceName(java.lang.String callbackInterfaceName)
Specified by:
setCallbackInterfaceName in interface JavaServiceContract
Parameters:
callbackInterfaceName - The callbackInterfaceName to set.

getInterfaceName

public java.lang.String getInterfaceName()
Specified by:
getInterfaceName in interface JavaServiceContract

getCallbackInterfaceName

public java.lang.String getCallbackInterfaceName()
Specified by:
getCallbackInterfaceName in interface JavaServiceContract

initialize

public void initialize(AssemblyContext modelContext)
Description copied from interface: AssemblyObject
Initialize this model object.

Specified by:
initialize in interface AssemblyObject
Overrides:
initialize in class ExtensibleImpl
Parameters:
modelContext - context providing access to the environment in which this model is being used
See Also:
ExtensibleImpl.initialize(org.apache.tuscany.model.assembly.AssemblyContext)

Tuscany Assembly Model

-