org.jboss.media.engine
Class MediaEngineDeployer
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.deployment.SubDeployerSupport (src)
org.jboss.media.engine.MediaEngineDeployer
- All Implemented Interfaces:
- MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src) , SubDeployer (src)
- public class MediaEngineDeployer
- extends SubDeployerSupport (src)
- implements SubDeployer (src)
Fields inherited from interface org.jboss.deployment.SubDeployer (src) |
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, RELATIVE_ORDER_100, RELATIVE_ORDER_200, RELATIVE_ORDER_300, RELATIVE_ORDER_400, RELATIVE_ORDER_500, RELATIVE_ORDER_600, RELATIVE_ORDER_700, RELATIVE_ORDER_800, RELATIVE_ORDER_900, START_NOTIFICATION, STOP_NOTIFICATION |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary |
boolean |
accepts(DeploymentInfo (src) info)
The accepts method is called by MainDeployer to
determine which deployer is suitable for a DeploymentInfo. |
void |
create(DeploymentInfo (src) di)
Set up the components of the deployment that do not
refer to other components |
void |
init(DeploymentInfo (src) di)
The init method lets the deployer set a few properties
of the DeploymentInfo, such as the watch url. |
protected boolean |
isDeployable(java.lang.String name,
java.net.URL url)
This method returns true if the name is a recognized archive file. |
void |
start(DeploymentInfo (src) di)
The start method sets up relationships with other components. |
void |
stop(DeploymentInfo (src) di)
The stop method removes relationships between components. |
Methods inherited from class org.jboss.deployment.SubDeployerSupport (src) |
addDeployableFiles, addDeployableJar, createService, deployUrl, destroy, destroyService, emitNotification, getRelativeOrder, getSuffixes, processNestedDeployments, setRelativeOrder, setSuffixes, startService, stopService |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaEngineDeployer
public MediaEngineDeployer()
accepts
public boolean accepts(DeploymentInfo (src) info)
- Description copied from interface:
SubDeployer (src)
- The
accepts
method is called by MainDeployer to
determine which deployer is suitable for a DeploymentInfo.
- Specified by:
accepts
in interface SubDeployer (src)
- Parameters:
info
- a DeploymentInfo
value
- Returns:
- a
boolean
value - See Also:
org.jboss.deployment.SubDeployerMBean#accepts(DeploymentInfo)
isDeployable
protected boolean isDeployable(java.lang.String name,
java.net.URL url)
- Description copied from class:
SubDeployerSupport (src)
- This method returns true if the name is a recognized archive file.
It will query the MainDeployer that keeps a dynamically updated
list of known archive extensions.
- Overrides:
isDeployable
in class SubDeployerSupport (src)
- Parameters:
name
- The "short-name" of the URL. It will have any trailing '/'
characters removed, and any directory structure has been removed.url
- The full url.
- Returns:
- true iff the name ends in a known archive extension: .jar, .sar,
.ear, .rar, .zip, .wsr, .war, or if the name matches the native
library conventions.
init
public void init(DeploymentInfo (src) di)
throws DeploymentException (src)
- Description copied from interface:
SubDeployer (src)
- The
init
method lets the deployer set a few properties
of the DeploymentInfo, such as the watch url.
- Specified by:
init
in interface SubDeployer (src)
- Overrides:
init
in class SubDeployerSupport (src)
- Throws:
DeploymentException (src)
create
public void create(DeploymentInfo (src) di)
throws DeploymentException (src)
- Description copied from interface:
SubDeployer (src)
- Set up the components of the deployment that do not
refer to other components
- Specified by:
create
in interface SubDeployer (src)
- Overrides:
create
in class SubDeployerSupport (src)
- Throws:
DeploymentException (src)
start
public void start(DeploymentInfo (src) di)
throws DeploymentException (src)
- Description copied from interface:
SubDeployer (src)
- The
start
method sets up relationships with other components.
- Specified by:
start
in interface SubDeployer (src)
- Overrides:
start
in class SubDeployerSupport (src)
- Throws:
DeploymentException (src)
stop
public void stop(DeploymentInfo (src) di)
throws DeploymentException (src)
- Description copied from interface:
SubDeployer (src)
- The
stop
method removes relationships between components.
- Specified by:
stop
in interface SubDeployer (src)
- Overrides:
stop
in class SubDeployerSupport (src)
- Throws:
DeploymentException (src)