Domanda

Is it possible to stop the hot deployment from JBoss 6 programmatically? How can I do that?

È stato utile?

Soluzione

The JNDI name for the Deployment Scanner MBean is:

jboss.deployment:type=DeploymentScanner,flavor=URL.

With a lookup with JNDI is possible to access many methods, including the stop() method.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top