|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.test.framework.deployment.MainDeployerFacade
This is a hack for testing. We log the deployment exception in the MainDeployerProxy that keeps exception in a thread local and rethrow them once deployment is finished. We are forced to do that because the deployment mechanism we have is based on JMX notifications isolate the two deployment layers (JBoss AS and JBoss Portal). Having deployment interception will solve the problem.
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
MainDeployerFacade()
|
Method Summary | |
void |
deploy(java.net.URL url)
|
org.jboss.deployment.MainDeployerMBean |
getMainDeployer()
|
static void |
log(org.jboss.deployment.DeploymentException e)
|
void |
setMainDeployer(org.jboss.deployment.MainDeployerMBean mainDeployer)
|
void |
undeploy(java.net.URL url)
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MainDeployerFacade()
Method Detail |
public static void log(org.jboss.deployment.DeploymentException e)
public org.jboss.deployment.MainDeployerMBean getMainDeployer()
getMainDeployer
in interface MainDeployerFacadeMBean
public void setMainDeployer(org.jboss.deployment.MainDeployerMBean mainDeployer)
setMainDeployer
in interface MainDeployerFacadeMBean
public void deploy(java.net.URL url) throws org.jboss.deployment.DeploymentException
deploy
in interface MainDeployerFacadeMBean
org.jboss.deployment.DeploymentException
public void undeploy(java.net.URL url) throws org.jboss.deployment.DeploymentException
undeploy
in interface MainDeployerFacadeMBean
org.jboss.deployment.DeploymentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |