package org.mobicents.slee.container.deployment.jboss; import javax.management.ObjectName; import org.jboss.deployment.DeploymentException; import org.jboss.deployment.SubDeployerExtMBean; import org.jboss.mx.util.ObjectNameFactory; /** * Simple MBean for obtaining current deployer status which will show what's * deployed and what's on the waiting list for deployment and undeployment. * * @author Alexandre Mendon�a * @version 1.0 */ @SuppressWarnings("deprecation") public interface SLEESubDeployerMBean extends SubDeployerExtMBean { // The default ObjectName public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.system:service=SLEESubDeployer"); String showStatus() throws DeploymentException; public void setWaitTimeBetweenOperations(long waitTime); public long getWaitTimeBetweenOperations(); public boolean accepts(DeployableUnitWrapper du) throws DeploymentException; public void init(DeployableUnitWrapper du) throws DeploymentException; public void create(DeployableUnitWrapper du) throws DeploymentException; public void start(DeployableUnitWrapper du) throws DeploymentException; public void stop(DeployableUnitWrapper du) throws DeploymentException; public void destroy(DeployableUnitWrapper du) throws DeploymentException; }