|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
org.apache.tuscany.model.assembly.impl.ExtensibleImpl
org.apache.tuscany.model.assembly.impl.PartImpl
org.apache.tuscany.model.assembly.impl.ExternalServiceImpl
public class ExternalServiceImpl
An implementation ExternalService.
Constructor Summary | |
---|---|
protected |
ExternalServiceImpl()
|
Method Summary | |
---|---|
boolean |
accept(AssemblyVisitor visitor)
Accept a visitor |
void |
freeze()
Freeze this model object preventing any additional changes. |
List<Binding> |
getBindings()
Returns the bindings that can be used by operations on this external service. |
ConfiguredService |
getConfiguredService()
Returns the configured service that this external service provides to other parts of the containing composite. |
Object |
getContextFactory()
Returns the context factory |
OverrideOption |
getOverrideOption()
Returns the override option that determines if any wiring for this external service that is contained in this composite can be overridden by wired supplied from outside. |
void |
initialize(AssemblyContext modelContext)
Initialize this model object. |
void |
setConfiguredService(ConfiguredService configuredService)
Sets the configured service that this external service provides to other parts of the containing composite |
void |
setContextFactory(Object contextFactory)
Sets the context factory |
void |
setOverrideOption(OverrideOption newOverridable)
Set the override option that determines if any wiring for this external service that is contained in this composite can be overridden by wired supplied from outside. |
Methods inherited from class org.apache.tuscany.model.assembly.impl.PartImpl |
---|
getComposite, getName, setComposite, setName |
Methods inherited from class org.apache.tuscany.model.assembly.impl.ExtensibleImpl |
---|
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.Part |
---|
getComposite, getName, setComposite, setName |
Methods inherited from interface org.apache.tuscany.model.assembly.Extensible |
---|
getExtensibilityAttributes, getExtensibilityElements |
Constructor Detail |
---|
protected ExternalServiceImpl()
Method Detail |
---|
public OverrideOption getOverrideOption()
ExternalService
getOverrideOption
in interface ExternalService
public void setOverrideOption(OverrideOption newOverridable)
ExternalService
setOverrideOption
in interface ExternalService
newOverridable
- the option that determines how wires can be overridenpublic List<Binding> getBindings()
ExternalService
getBindings
in interface ExternalService
public ConfiguredService getConfiguredService()
ExternalService
getConfiguredService
in interface ExternalService
public void setConfiguredService(ConfiguredService configuredService)
ExternalService
setConfiguredService
in interface ExternalService
configuredService
- the configured service that this external service provides to other parts of the containing compositepublic Object getContextFactory()
ContextFactoryHolder
getContextFactory
in interface ContextFactoryHolder
getContextFactory
in class PartImpl
public void setContextFactory(Object contextFactory)
ContextFactoryHolder
setContextFactory
in interface ContextFactoryHolder
setContextFactory
in class PartImpl
public void initialize(AssemblyContext modelContext)
AssemblyObject
initialize
in interface AssemblyObject
initialize
in class ExtensibleImpl
modelContext
- context providing access to the environment in which this model is being usedpublic void freeze()
AssemblyObject
freeze
in interface AssemblyObject
freeze
in class ExtensibleImpl
public boolean accept(AssemblyVisitor visitor)
AssemblyObject
accept
in interface AssemblyObject
accept
in class ExtensibleImpl
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 |