JBoss.org Community Documentation
The ContainerPlugin interface is the parent interface of all container plug-in interfaces. It provides a callback that allows a container to provide each of its plug-ins a pointer to the container the plug-in is working on behalf of. The ContainerPlugin interface is given below.
public interface ContainerPlugin
extends Service, AllowedOperationsFlags
{
/**
* This callback is set by the container so that the plugin
* may access its container
*
* @param con the container which owns the plugin
*/
public void setContainer(Container con);
}
Example 11.4. The org.jboss.ejb.ContainerPlugin interface