|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RuntimeComponent
The runtime component interface. Provides the bridge between the assembly model representation of a component and its runtime realization.
| 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 |
java.util.List<PolicyProvider> |
getPolicyProviders()
Get a list of policy providers configured for this component |
boolean |
isStarted()
Tests if the RuntimeComponent is started |
void |
setComponentContext(RuntimeComponentContext context)
Set the associated component context |
void |
setImplementationProvider(ImplementationProvider implementationProvider)
Set the implementation-specific configuration for this component |
void |
setStarted(boolean started)
Sets the RuntimeComponent started state |
| 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 |
| Method Detail |
|---|
void setImplementationProvider(ImplementationProvider implementationProvider)
implementationProvider - The object that manages the component implementationImplementationProvider getImplementationProvider()
RuntimeComponentContext getComponentContext()
void setComponentContext(RuntimeComponentContext context)
context - boolean isStarted()
void setStarted(boolean started)
started - the state to setvoid addPolicyProvider(PolicyProvider policyProvider)
policyProvider - java.util.List<PolicyProvider> getPolicyProviders()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||