当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
ServerDeployer - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.server.deployment.jboss
Class ServerDeployer
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.deployment.SubDeployerSupport
org.jboss.portal.server.deployment.jboss.ServerDeployer
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ServerDeployerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean, org.jboss.deployment.SubDeployer, org.jboss.deployment.SubDeployerExt, org.jboss.deployment.SubDeployerExtMBean, org.jboss.deployment.SubDeployerMBean
- public class ServerDeployer
- extends org.jboss.deployment.SubDeployerSupport
- implements ServerDeployerMBean
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Nested classes inherited from class org.jboss.deployment.SubDeployerSupport |
org.jboss.deployment.SubDeployerSupport.ClassConfiguration |
Field Summary |
private java.util.Map |
diMap
The portal deployment info map. |
private java.util.Set |
factories
The factories. |
private org.apache.log4j.Logger |
log
The loggger. |
private Server |
portalServer
The server. |
Fields inherited from class org.jboss.deployment.SubDeployerSupport |
CONFIGURATION, enhancedSuffixes, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|
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 |
Fields inherited from interface org.jboss.deployment.SubDeployer |
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 |
Methods inherited from class org.jboss.deployment.SubDeployerSupport |
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getEnhancedSuffixes, getRelativeOrder, getSuffixes, init, isDeployable, setEnhancedSuffixes, setRelativeOrder, setSuffixes, startService, stopService |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
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 |
Methods inherited from interface org.jboss.deployment.SubDeployerMBean |
getRelativeOrder, getServiceName, getSuffixes, init |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Methods inherited from interface org.jboss.deployment.SubDeployer |
getServiceName |
log
private final org.apache.log4j.Logger log
- The loggger.
portalServer
private Server portalServer
- The server.
factories
private java.util.Set factories
- The factories.
diMap
private java.util.Map diMap
- The portal deployment info map.
ServerDeployer
public ServerDeployer()
getFactories
public java.util.Set getFactories()
- Specified by:
getFactories
in interface ServerDeployerMBean
accepts
public boolean accepts(org.jboss.deployment.DeploymentInfo di)
- This should never be called for server deployment.
- Specified by:
accepts
in interface org.jboss.deployment.SubDeployerMBean
getPortalServer
public Server getPortalServer()
- Specified by:
getPortalServer
in interface ServerDeployerMBean
setPortalServer
public void setPortalServer(Server portalServer)
- Specified by:
setPortalServer
in interface ServerDeployerMBean
getDeployer
public ServerDeployer getDeployer()
- Specified by:
getDeployer
in interface ServerDeployerMBean
registerFactory
public void registerFactory(DeploymentFactory factory)
- Specified by:
registerFactory
in interface ServerDeployerMBean
unregisterFactory
public void unregisterFactory(DeploymentFactory factory)
- Specified by:
unregisterFactory
in interface ServerDeployerMBean
processNestedDeployments
protected void processNestedDeployments(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
- Throws:
org.jboss.deployment.DeploymentException
findFactory
public DeploymentFactory findFactory(java.net.URL url)
- Description copied from interface:
ServerDeployerMBean
- Locate a deployment info factory based on the url. If no factory is found it returns null.
- Specified by:
findFactory
in interface ServerDeployerMBean
create
public void create(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
- Specified by:
create
in interface org.jboss.deployment.SubDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
start
public void start(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
- Specified by:
start
in interface org.jboss.deployment.SubDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
stop
public void stop(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
- Specified by:
stop
in interface org.jboss.deployment.SubDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
destroy
public void destroy(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
- Specified by:
destroy
in interface org.jboss.deployment.SubDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
deploy
public void deploy(PortalWebApp pwa)
throws org.jboss.deployment.DeploymentException
- Specified by:
deploy
in interface ServerDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
undeploy
public void undeploy(PortalWebApp pwa)
throws org.jboss.deployment.DeploymentException
- Specified by:
undeploy
in interface ServerDeployerMBean
- Throws:
org.jboss.deployment.DeploymentException
instrument
private void instrument(PortalWebApp pwa)
- Instrument the portal web app.