|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl org.apache.tuscany.model.assembly.impl.PortImpl
public abstract class PortImpl
An implementation of Port.
Constructor Summary | |
---|---|
protected |
PortImpl()
|
Method Summary | |
---|---|
boolean |
accept(AssemblyVisitor visitor)
Accept a visitor |
void |
freeze()
Freeze this model object preventing any additional changes. |
java.lang.String |
getName()
Returns the name of the port where it is associated with a requestor or provider. |
ServiceContract |
getServiceContract()
Returns the contract for invocations of a service using this port. |
void |
initialize(AssemblyContext modelContext)
Initialize this model object. |
void |
setName(java.lang.String value)
Sets the name of the port where it is associated with a requestor or provider. |
void |
setServiceContract(ServiceContract value)
Set the contract for invocations of a service using this port. |
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 |
Constructor Detail |
---|
protected PortImpl()
Method Detail |
---|
public java.lang.String getName()
Port
getName
in interface Port
public void setName(java.lang.String value)
Port
setName
in interface Port
value
- the name of the port where it is associated with a requestor or providerpublic ServiceContract getServiceContract()
Port
getServiceContract
in interface Port
public void setServiceContract(ServiceContract value)
Port
setServiceContract
in interface Port
value
- the contract for invocations of a service using this portpublic void initialize(AssemblyContext modelContext)
AssemblyObject
initialize
in interface AssemblyObject
initialize
in class AssemblyObjectImpl
modelContext
- context providing access to the environment in which this model is being usedpublic void freeze()
AssemblyObject
freeze
in interface AssemblyObject
freeze
in class AssemblyObjectImpl
public boolean accept(AssemblyVisitor visitor)
AssemblyObject
accept
in interface AssemblyObject
accept
in class AssemblyObjectImpl
visitor
- a visitor that is visiting the model
|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |