|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SCABasicIntentController
Intent control interface for SCA components.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME of the intent controller. |
Method Summary | |
---|---|
void |
addFcIntentHandler(IntentHandler handler)
Add the specified intent handler on all business interfaces. |
void |
addFcIntentHandler(IntentHandler handler,
InterfaceFilter filter)
Add the specified intent handler on all interfaces, business or control, that match the specified interface filter. |
void |
addFcIntentHandler(IntentHandler handler,
InterfaceMethodFilter filter)
Add the specified intent handler on all interface methods, business or control, that match the specified filter. |
void |
addFcIntentHandler(IntentHandler handler,
java.lang.String name)
Add the specified intent handler on the specified interface. |
void |
addFcIntentHandler(IntentHandler handler,
java.lang.String name,
java.lang.reflect.Method method)
Add the specified intent handler on the specified method of the specified interface. |
java.util.List<IntentHandler> |
listFcIntentHandler(java.lang.String name)
Return the list of intent handlers associated with the specified interface. |
java.util.List<IntentHandler> |
listFcIntentHandler(java.lang.String name,
java.lang.reflect.Method method)
Return the list of intent handlers associated with the specified method of the specified interface. |
void |
removeFcIntentHandler(IntentHandler handler)
Remove the specified intent handler on all interfaces, business and control, of the current component. |
void |
removeFcIntentHandler(IntentHandler handler,
java.lang.String name)
Remove the specified intent handler on the interface (service or reference) whose name is specified. |
void |
removeFcIntentHandler(IntentHandler handler,
java.lang.String name,
java.lang.reflect.Method method)
Remove the specified intent handler on the method of the interface (service or reference) whose name is specified. |
Field Detail |
---|
static final java.lang.String NAME
NAME
of the intent controller.
Method Detail |
---|
void addFcIntentHandler(IntentHandler handler) throws IllegalLifeCycleException
handler
- the intent handler
IllegalLifeCycleException
- if the component is not stoppedvoid addFcIntentHandler(IntentHandler handler, InterfaceFilter filter) throws IllegalLifeCycleException
handler
- the intent handlerfilter
- the interface filter
IllegalLifeCycleException
- if the component is not stoppedvoid addFcIntentHandler(IntentHandler handler, InterfaceMethodFilter filter) throws IllegalLifeCycleException
handler
- the intent handlerfilter
- the filter for interface methods
IllegalLifeCycleException
- if the component is not stoppedvoid addFcIntentHandler(IntentHandler handler, java.lang.String name) throws NoSuchInterfaceException, IllegalLifeCycleException
handler
- the intent handlername
- the interface name
NoSuchInterfaceException
- if the interface does not exist
IllegalLifeCycleException
- if the component is not stoppedvoid addFcIntentHandler(IntentHandler handler, java.lang.String name, java.lang.reflect.Method method) throws NoSuchInterfaceException, java.lang.NoSuchMethodException, IllegalLifeCycleException
handler
- the intent handlername
- the interface namemethod
- the method
NoSuchInterfaceException
- if the interface does not exist
java.lang.NoSuchMethodException
- if the method does not exist
IllegalLifeCycleException
- if the component is not stoppedjava.util.List<IntentHandler> listFcIntentHandler(java.lang.String name) throws NoSuchInterfaceException
name
- the interface name
NoSuchInterfaceException
- if the interface does not existjava.util.List<IntentHandler> listFcIntentHandler(java.lang.String name, java.lang.reflect.Method method) throws NoSuchInterfaceException, java.lang.NoSuchMethodException
name
- the interface namemethod
- the method
NoSuchInterfaceException
- if the interface does not exist
java.lang.NoSuchMethodException
- if the method does not existvoid removeFcIntentHandler(IntentHandler handler) throws IllegalLifeCycleException
handler
- the intent handler to remove
IllegalLifeCycleException
- if the component is not stoppedvoid removeFcIntentHandler(IntentHandler handler, java.lang.String name) throws NoSuchInterfaceException, IllegalLifeCycleException
handler
- the intent handler to removename
- the interface name
NoSuchInterfaceException
- if the interface does not exist
IllegalLifeCycleException
- if the component is not stoppedvoid removeFcIntentHandler(IntentHandler handler, java.lang.String name, java.lang.reflect.Method method) throws NoSuchInterfaceException, java.lang.NoSuchMethodException, IllegalLifeCycleException
handler
- the intent handler to removename
- the interface namemethod
- the method
NoSuchInterfaceException
- if the interface does not exist
java.lang.NoSuchMethodException
- if the method does not exist
IllegalLifeCycleException
- if the component is not stopped
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |