|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SOFAMicroComponent
Every microcomponent have to implement this interface.
Method Summary | |
---|---|
java.lang.Object |
getDelegatedProvided()
Takes reference to delegated provided interface implementation. |
java.lang.Object |
getProvided(java.lang.String name)
Takes reference to implementation of provided interface with given name. |
void |
init(ComponentInstance component,
java.util.Map<java.lang.String,java.lang.String> parameters)
Initialises microcomponent. |
void |
setDelegatedRequired(java.lang.Object ref)
Gives the microcomponent reference to interface where to delegate calls. |
void |
setRequired(java.lang.String name,
java.lang.Object ref)
Gives the microcomponent reference to destination of its required interface. |
Method Detail |
---|
void init(ComponentInstance component, java.util.Map<java.lang.String,java.lang.String> parameters) throws SOFAException
instance
- Containing component instance.parameters
- Parameters from the model extended by parameters from the Sofa2 runtime.
SOFAException
java.lang.Object getDelegatedProvided() throws SOFAException
SOFAException
java.lang.Object getProvided(java.lang.String name) throws SOFAException
name
- Name of the provided interface.
SOFAException
void setDelegatedRequired(java.lang.Object ref) throws SOFAException
ref
- Interface implementation reference to delegate to.
SOFAException
void setRequired(java.lang.String name, java.lang.Object ref) throws SOFAException
name
- Name of the required interface.ref
- Reference to the destination interface implementation.
SOFAException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |