org.jboss.portal.server.deployment.jboss
Class AbstractDeploymentFactory

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.portal.common.system.AbstractJBossService
              extended byorg.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory
All Implemented Interfaces:
DeploymentFactory, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
Direct Known Subclasses:
InstanceDeploymentFactory, LayoutDeploymentFactory, LayoutFeaturesDeploymentFactory, ObjectDeploymentFactory, PortalDeploymentFactory, PortletAppDeploymentFactory, RenderSetDeploymentFactory, StrategyDeploymentFactory, ThemeDeploymentFactory

public abstract class AbstractDeploymentFactory
extends AbstractJBossService
implements DeploymentFactory


Field Summary
protected  ServerDeployerMBean deployer
           
 
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
AbstractDeploymentFactory()
           
 
Method Summary
 ServerDeployerMBean getDeployer()
           
 java.net.URL getSetupURL()
          Returns an URL that must be processed just after this has been registered.
 void setDeployer(ServerDeployerMBean deployer)
           
 void startService()
           
 void stopService()
           
 
Methods inherited from class org.jboss.portal.common.system.AbstractJBossService
create, destroy, getState, getStateString, start, stop
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister
 
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.portal.server.deployment.jboss.DeploymentFactory
accept, newInstance
 

Field Detail

deployer

protected ServerDeployerMBean deployer
Constructor Detail

AbstractDeploymentFactory

public AbstractDeploymentFactory()
Method Detail

getDeployer

public ServerDeployerMBean getDeployer()

setDeployer

public void setDeployer(ServerDeployerMBean deployer)

startService

public void startService()
                  throws java.lang.Exception
Throws:
java.lang.Exception

stopService

public void stopService()

getSetupURL

public java.net.URL getSetupURL()
Description copied from interface: DeploymentFactory
Returns an URL that must be processed just after this has been registered. If the method returns null then no processing is done. This method should always return the same value.

Specified by:
getSetupURL in interface DeploymentFactory