|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.bootstrap.MIInComponentBase
public class MIInComponentBase
Implements logic of the InComponent aspect.
Constructor Summary | |
---|---|
MIInComponentBase()
|
Method Summary | |
---|---|
MIComponent |
getComponent()
Returns control interface of the component. |
java.lang.Object |
getProvided(java.lang.String name)
Takes reference to implementation of provided interface with given name. |
void |
init(ComponentDescription component,
java.util.Map<java.lang.String,java.lang.String> parameters)
Initialises microcomponent. |
void |
notifyCall(java.lang.String method)
Invoked when intercepted method is called. |
void |
notifyReturn(java.lang.String method)
Invoked when interpected method returns. |
void |
setRequired(java.lang.String name,
java.lang.Object ref)
Gives the microcomponent reference to destination of its required interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MIInComponentBase()
Method Detail |
---|
public MIComponent getComponent()
MIInComponent
getComponent
in interface MIInComponent
public void notifyCall(java.lang.String method)
MIInterceptor
notifyCall
in interface MIInterceptor
method
- Name of the method that has been called.public void notifyReturn(java.lang.String method)
MIInterceptor
notifyReturn
in interface MIInterceptor
method
- Name of the method that returns.public void init(ComponentDescription component, java.util.Map<java.lang.String,java.lang.String> parameters) throws SOFAException
SOFAMicroComponent
init
in interface SOFAMicroComponent
component
- Containing component description.parameters
- Parameters from the model extended by parameters from the Sofa2 runtime.
SOFAException
public java.lang.Object getProvided(java.lang.String name) throws SOFAException
SOFAMicroComponent
getProvided
in interface SOFAMicroComponent
name
- Name of the provided interface.
SOFAException
public void setRequired(java.lang.String name, java.lang.Object ref) throws SOFAException
SOFAMicroComponent
setRequired
in interface SOFAMicroComponent
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 |