org.objectweb.easybeans.api.naming
Interface NamingInterceptor

All Superinterfaces:
EasyBeansInterceptor
All Known Implementing Classes:
AbsENCInterceptor, EZBENCInterceptor, JettyENCInterceptor, JOnASENCInterceptor, TomcatENCInterceptor

public interface NamingInterceptor
extends EasyBeansInterceptor

The naming interceptors need to implements this interface.

Author:
Florent Benoit

Method Summary
 void initContext(java.lang.String id, javax.naming.Context context)
          Init the context for the given name.
 void removeContext(java.lang.String id)
          Remove the context associated to a given id.
 
Methods inherited from interface org.objectweb.easybeans.api.EasyBeansInterceptor
intercept
 

Method Detail

initContext

void initContext(java.lang.String id,
                 javax.naming.Context context)
Init the context for the given name.

Parameters:
id - the id.
context - the context associated to a factory's id.

removeContext

void removeContext(java.lang.String id)
Remove the context associated to a given id.

Parameters:
id - the id.