|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.assembly.impl.BaseImpl org.apache.tuscany.sca.assembly.impl.ExtensibleImpl org.apache.tuscany.sca.assembly.impl.ComponentImpl org.apache.tuscany.sca.core.assembly.RuntimeComponentImpl
public class RuntimeComponentImpl
Field Summary | |
---|---|
protected RuntimeComponentContext |
componentContext
|
protected ImplementationProvider |
implementationProvider
|
protected ModelResolver |
modelResolver
|
protected java.util.List<PolicyProvider> |
policyProviders
|
protected ScopeContainer |
scopeContainer
|
protected boolean |
started
|
Constructor Summary | |
---|---|
RuntimeComponentImpl()
|
Method Summary | |
---|---|
void |
addPolicyProvider(PolicyProvider policyProvider)
Add a policy provider to the component |
RuntimeComponentContext |
getComponentContext()
Get the associated component context |
ImplementationProvider |
getImplementationProvider()
Get the implementation-specific configuration for this component |
ModelResolver |
getModelResolver()
Returns the model resolver for the models representing the artifacts visible in the scope of this contribution. |
java.util.List<PolicyProvider> |
getPolicyProviders()
Get a list of policy providers configured for this component |
ScopeContainer |
getScopeContainer()
Get the assoicated scope container |
boolean |
isStarted()
Tests if the RuntimeComponent is started |
void |
setComponentContext(RuntimeComponentContext componentContext)
Set the associated component context |
void |
setImplementationProvider(ImplementationProvider provider)
Set the implementation-specific configuration for this component |
void |
setModelResolver(ModelResolver modelResolver)
Sets the model resolver for the models representing the artifacts visible in the scope of this contribution. |
void |
setScopeContainer(ScopeContainer scopeContainer)
Set the associated scope container |
void |
setStarted(boolean started)
Sets the RuntimeComponent started state |
java.lang.String |
toString()
|
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ComponentImpl |
---|
clone, getApplicablePolicySets, getAutowire, getConfiguredOperations, getConstrainingType, getImplementation, getName, getPolicySets, getProperties, getReferences, getRequiredIntents, getServices, getType, getURI, isAutowire, setAutowire, setConfiguredOperations, setConstrainingType, setImplementation, setName, setPolicySets, setRequiredIntents, setType, setURI |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl |
---|
getExtensions |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl |
---|
isUnresolved, setUnresolved |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.tuscany.sca.assembly.Component |
---|
clone, getAutowire, getConstrainingType, getImplementation, getName, getProperties, getReferences, getServices, getURI, setAutowire, setConstrainingType, setImplementation, setName, setURI |
Methods inherited from interface org.apache.tuscany.sca.assembly.Base |
---|
isUnresolved, setUnresolved |
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible |
---|
getExtensions |
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint |
---|
getApplicablePolicySets, getPolicySets |
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint |
---|
getRequiredIntents, getType, setType |
Field Detail |
---|
protected RuntimeComponentContext componentContext
protected ImplementationProvider implementationProvider
protected java.util.List<PolicyProvider> policyProviders
protected ScopeContainer scopeContainer
protected boolean started
protected ModelResolver modelResolver
Constructor Detail |
---|
public RuntimeComponentImpl()
Method Detail |
---|
public ImplementationProvider getImplementationProvider()
RuntimeComponent
getImplementationProvider
in interface RuntimeComponent
public void setImplementationProvider(ImplementationProvider provider)
RuntimeComponent
setImplementationProvider
in interface RuntimeComponent
provider
- The object that manages the component implementationpublic ScopeContainer getScopeContainer()
ScopedRuntimeComponent
getScopeContainer
in interface ScopedRuntimeComponent
public void setScopeContainer(ScopeContainer scopeContainer)
ScopedRuntimeComponent
setScopeContainer
in interface ScopedRuntimeComponent
public boolean isStarted()
RuntimeComponent
isStarted
in interface RuntimeComponent
public void setStarted(boolean started)
RuntimeComponent
setStarted
in interface RuntimeComponent
started
- the state to setpublic RuntimeComponentContext getComponentContext()
RuntimeComponent
getComponentContext
in interface RuntimeComponent
public void setComponentContext(RuntimeComponentContext componentContext)
RuntimeComponent
setComponentContext
in interface RuntimeComponent
componentContext
- the componentContext to setpublic void addPolicyProvider(PolicyProvider policyProvider)
RuntimeComponent
addPolicyProvider
in interface RuntimeComponent
public java.util.List<PolicyProvider> getPolicyProviders()
RuntimeComponent
getPolicyProviders
in interface RuntimeComponent
public ModelResolver getModelResolver()
ResolverExtension
getModelResolver
in interface ResolverExtension
public void setModelResolver(ModelResolver modelResolver)
ResolverExtension
setModelResolver
in interface ResolverExtension
modelResolver
- The model resolverpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |