|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.juliak.control.interceptor.InterceptorCompControllerImpl
public class InterceptorCompControllerImpl
Default implementation of the InterceptorController
control interface.
BasicControllerMixin
,
InterceptorControllerMixin
Field Summary |
---|
Fields inherited from interface org.objectweb.fractal.juliak.control.interceptor.InterceptorController |
---|
NAME, TYPE |
Constructor Summary | |
---|---|
InterceptorCompControllerImpl()
|
Method Summary | |
---|---|
void |
addFcInterceptor(ComponentInterface itf,
Interceptor interceptor)
Appends the specified interceptor at the end of the list of already existing interceptors for the specified Fractal interface. |
Interceptor[] |
getFcInterceptors(ComponentInterface itf)
Returns the array of interceptors associated to the specified Fractal interface. |
String |
getInterceptors()
|
void |
initFcController(InitializationContext ic)
Initialize this controller object. |
boolean |
removeFcInterceptor(ComponentInterface itf,
Interceptor interceptor)
Removes the specified interceptor from the list of already existing interceptors for the specified Fractal interface. |
void |
setInterceptors(String interceptors)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterceptorCompControllerImpl()
Method Detail |
---|
public void initFcController(InitializationContext ic) throws InstantiationException
Controller
initFcController
in interface Controller
ic
- information about the component to which this controller object
belongs.
InstantiationException
- if the initialization fails.InterceptorControllerMixin.initFcController(org.objectweb.fractal.julia.InitializationContext)
public void addFcInterceptor(ComponentInterface itf, Interceptor interceptor)
addFcInterceptor
in interface InterceptorController
itf
- the Fractal interfaceinterceptor
- the interceptorInterceptorControllerMixin.addFcInterceptor(org.objectweb.fractal.julia.ComponentInterface,org.objectweb.fractal.julia.Interceptor)
public Interceptor[] getFcInterceptors(ComponentInterface itf)
getFcInterceptors
in interface InterceptorController
itf
- the Fractal interface
InterceptorControllerMixin.getFcInterceptors(org.objectweb.fractal.julia.ComponentInterface)
public boolean removeFcInterceptor(ComponentInterface itf, Interceptor interceptor)
removeFcInterceptor
in interface InterceptorController
itf
- the Fractal interfaceinterceptor
- the interceptor
InterceptorControllerMixin.removeFcInterceptor(org.objectweb.fractal.julia.ComponentInterface,org.objectweb.fractal.julia.Interceptor)
public void setInterceptors(String interceptors)
setInterceptors
in interface InterceptorDefAttributes
interceptors
- A stringified representation of a Julia
Tree
structure describing
the interceptor class generators associated with this control
membrane.InterceptorControllerMixin.setInterceptors(java.lang.String)
public String getInterceptors()
getInterceptors
in interface InterceptorDefAttributes
Tree
structure describing
the interceptor class generators associated with this control
membrane.InterceptorControllerMixin.getInterceptors()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |