|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.jndi.interceptors.impl.JNDIInterceptorsComponent
public class JNDIInterceptorsComponent
Component that will create and register JNDI interceptors.
Field Summary | |
---|---|
protected static String |
JONAS_BASE
The name of the JONAS_BASE directory. |
static String |
XML_FILE
Name of the XML file. |
Constructor Summary | |
---|---|
JNDIInterceptorsComponent()
Default constructor. |
Method Summary | |
---|---|
void |
bindEventService(org.ow2.util.event.api.IEventService eventService)
Callback invoked when an EventService becomes available. |
Interceptors |
getInterceptors()
|
IResourceCheckerManager |
getResourceCheckerManager()
|
protected void |
loadXML()
Load the XML configuration of the interceptor component. |
protected void |
registerContextInterceptor(org.ow2.carol.jndi.intercept.ContextInterceptor contextInterceptor)
Register the given context interceptor. |
void |
setEasyBeansService(IEasyBeansService easybeansService)
Sets the easybeans service. |
void |
setInterceptorManager(org.ow2.carol.jndi.intercept.InterceptorManager interceptorManager)
Sets the interceptor manager. |
void |
setInterceptors(Interceptors interceptors)
Sets the interceptors manager object. |
void |
setJmxService(JmxService jmxService)
|
void |
setResourceCheckerManager(IResourceCheckerManager resourceCheckerManager)
Sets the resource checker manager. |
void |
start()
Analyze the JNDI interceptors and register them. |
void |
stop()
Stop the JNDI interceptors. |
void |
unbindEventService(org.ow2.util.event.api.IEventService eventService)
Callback invoked when the used EventService becomes unavalable. |
protected void |
unregisterContextInterceptor(org.ow2.carol.jndi.intercept.ContextInterceptor contextInterceptor)
Unregister the given context interceptor. |
void |
unsetEasyBeansService()
Unset the easybeans service. |
void |
unsetInterceptorManager()
Unset the interceptor manager. |
void |
unsetResourceCheckerManager()
Unset the resource checker manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String XML_FILE
protected static final String JONAS_BASE
Constructor Detail |
---|
public JNDIInterceptorsComponent()
Method Detail |
---|
public void start() throws JNDIInterceptorsComponentException
JNDIInterceptorsComponentException
- if start fails.protected void loadXML() throws JNDIInterceptorsComponentException
JNDIInterceptorsComponentException
- if the XML file cannot be analyzedprotected void registerContextInterceptor(org.ow2.carol.jndi.intercept.ContextInterceptor contextInterceptor)
contextInterceptor
- the interceptorprotected void unregisterContextInterceptor(org.ow2.carol.jndi.intercept.ContextInterceptor contextInterceptor)
contextInterceptor
- the interceptorpublic void stop() throws JNDIInterceptorsComponentException
JNDIInterceptorsComponentException
- if component cannot be stoppedpublic Interceptors getInterceptors()
public void setInterceptors(Interceptors interceptors)
interceptors
- the interceptors objectpublic IResourceCheckerManager getResourceCheckerManager()
public void setResourceCheckerManager(IResourceCheckerManager resourceCheckerManager)
resourceCheckerManager
- the given instancepublic void unsetResourceCheckerManager()
public void setInterceptorManager(org.ow2.carol.jndi.intercept.InterceptorManager interceptorManager)
interceptorManager
- the given instancepublic void unsetInterceptorManager()
public void setEasyBeansService(IEasyBeansService easybeansService)
easybeansService
- the given instancepublic void unsetEasyBeansService()
public void bindEventService(org.ow2.util.event.api.IEventService eventService)
eventService
- the event servicepublic void unbindEventService(org.ow2.util.event.api.IEventService eventService)
eventService
- disposed servicepublic void setJmxService(JmxService jmxService)
jmxService
- the jmxService to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |