|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.modeler.BaseModelMBean
org.objectweb.easybeans.deployer.DeployerMBean
public final class DeployerMBean
Exposed MBean for the Deployer class.
Field Summary |
---|
Fields inherited from class org.apache.commons.modeler.BaseModelMBean |
---|
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source |
Constructor Summary | |
---|---|
DeployerMBean()
Create the mbean. |
Method Summary | |
---|---|
void |
deployEar(java.lang.String fileName)
Deploy an application packaged in a EAR file. |
void |
deployEjbJar(java.lang.String fileName)
Deploy an EJB packaged in a JAR file. |
java.lang.String |
deployFile(java.lang.Integer typeparam,
java.lang.Byte[] bfile,
java.lang.String filename)
Deploy a file on the EJB3 container. |
private IDeployer |
getDeployer()
|
Methods inherited from class org.apache.commons.modeler.BaseModelMBean |
---|
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeployerMBean() throws javax.management.MBeanException
javax.management.MBeanException
- if the super constructor fails.Method Detail |
---|
private IDeployer getDeployer()
public java.lang.String deployFile(java.lang.Integer typeparam, java.lang.Byte[] bfile, java.lang.String filename)
deployFile
in interface IDeployer
typeparam
- type of the file (EJB, WAR, EAR, RAR, CAR) (ModuleType
of JSR88)bfile
- bytes array of the filefilename
- basename of the file to be deployed
public void deployEar(java.lang.String fileName)
deployEar
in interface IDeployer
fileName
- the name of the file to deploypublic void deployEjbJar(java.lang.String fileName)
deployEjbJar
in interface IDeployer
fileName
- the name of the file to deploy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |