|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.microarchitecture.ComponentInstance
public class ComponentInstance
TODO document Base class for component instantiation.
Constructor Summary | |
---|---|
protected |
ComponentInstance(Architecture arch,
Frame frame,
java.lang.Iterable<Aspect> aspects,
java.lang.Iterable<Bindable> units)
Creates new ComponentInstance of Architecture arch with aspects applied. |
Method Summary | |
---|---|
Architecture |
getComponentArchitecture()
Model Architecture class of the component. |
java.lang.Object |
getComponentContent()
Returns content class of the component. |
Frame |
getComponentFrame()
Model frame class implemented by component. |
DelegationChain |
getControlInterfaceChain(java.lang.String name)
Returns control delegation chain with the given name. |
java.util.Set<java.lang.String> |
getControlInterfacesNames()
Returns names of the control interfaces of the component. |
DelegationChain |
getProvidedInterfaceChain(java.lang.String name)
Returns business provided delegation chain with the given name. |
java.util.Set<java.lang.String> |
getProvidedInterfacesNames()
Returns names of the business provided interfaces of the component. |
DelegationChain |
getRequiredInterfaceChain(java.lang.String name)
Returns business required delegation chain with the given name. |
java.util.Set<java.lang.String> |
getRequiredInterfacesNames()
Returns names of the business required interfaces of the component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ComponentInstance(Architecture arch, Frame frame, java.lang.Iterable<Aspect> aspects, java.lang.Iterable<Bindable> units) throws InstantiationException
arch
- Architecture to use for component.aspects
- Aspects to be applied.units
- InterfaceUnits to be binded to component's business interfaces.
InstantiationException
Method Detail |
---|
public DelegationChain getControlInterfaceChain(java.lang.String name) throws InterfaceNotFoundException
name
- Name of the control interface we want the delegation chain for.
InterfaceNotFoundException
public java.util.Set<java.lang.String> getControlInterfacesNames()
public DelegationChain getProvidedInterfaceChain(java.lang.String name) throws InterfaceNotFoundException
name
- Name of the business provided interface we want the delegation chain for.
InterfaceNotFoundException
public java.util.Set<java.lang.String> getProvidedInterfacesNames()
public DelegationChain getRequiredInterfaceChain(java.lang.String name) throws InterfaceNotFoundException
name
- Name of the business required interface we want the delegation chain for.
InterfaceNotFoundException
public java.util.Set<java.lang.String> getRequiredInterfacesNames()
public java.lang.Object getComponentContent()
public Architecture getComponentArchitecture()
public Frame getComponentFrame()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |