Save This Page
Home » JBoss-5.1.0 » org » jboss » deployment » [javadoc | source]
org.jboss.deployment
public class: MainDeployer [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.deployment.MainDeployer

All Implemented Interfaces:
    MainDeployerMBean, Deployer, KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

Deprecated! see - org.jboss.deployers.spi.deployment.MainDeployer

The legacy component for deployer management. This now simply delegates to the Main
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public MainDeployer() 
Method from org.jboss.deployment.MainDeployer Summary:
addDeployer,   checkDeployed,   checkIncompleteDeployments,   copy,   createService,   deploy,   deploy,   deploy,   getController,   getCopyFiles,   getDeployment,   getDeploymentContext,   getDeploymentUnit,   getEnhancedSuffixOrder,   getKernelMainDeployer,   getObjectName,   getSuffixOrder,   getTempDir,   getTempDirString,   getWatchUrl,   isDeployed,   isDeployed,   listDeployed,   listDeployedAsString,   listDeployedModules,   listDeployers,   listIncompletelyDeployed,   listWaitingForDeployer,   redeploy,   redeploy,   redeploy,   removeDeployer,   setController,   setCopyFiles,   setEnhancedSuffixOrder,   setKernelMainDeployer,   setServiceController,   setTempDir,   shutdown,   start,   stop,   undeploy,   undeploy,   undeploy,   undeploy
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.deployment.MainDeployer Detail:
 public  void addDeployer(SubDeployer deployer) 
      Deprecated!
    The addDeployer method registers a deployer with the main deployer. Any waiting packages are tested to see if the new deployer will deploy them.
 protected boolean checkDeployed(String name) 
      Deprecated!
    Is deployed.
 public  void checkIncompleteDeployments() throws DeploymentException 
      Deprecated!
    Check the current deployment states and generate a IncompleteDeploymentException if there are mbeans waiting for depedencies.
 protected  void copy(URL src,
    File dest) throws IOException 
      Deprecated!
 protected  void createService() throws Exception 
      Deprecated!
    The createService method is one of the ServiceMBean lifecyle operations. (no jmx tag needed from superinterface)
 public  void deploy(String urlspec) throws DeploymentException, MalformedURLException 
      Deprecated!
    The deploy method deploys a package identified by a string representation of a URL.
 public  void deploy(URL url) throws DeploymentException 
      Deprecated!
    The deploy method deploys a package identified by a URL
 public  void deploy(DeploymentInfo deployment) throws DeploymentException 
      Deprecated!
    The deploy method deploys a package represented by a DeploymentInfo object.
 public KernelController getController() 
      Deprecated!
 public boolean getCopyFiles() 
      Deprecated!
    Get the flag indicating whether directory content will be deployed
 public Deployment getDeployment(URL url) 
      Deprecated!
    The getDeployment method returns the Deployment object for the URL supplied.
 public DeploymentContext getDeploymentContext(URL url) 
      Deprecated!
    The getDeploymentContext method returns the DeploymentContext object for the URL supplied.
 public DeploymentUnit getDeploymentUnit(URL url) 
      Deprecated!
    The getDeploymentUnit method returns the DeploymentUnit object for the URL supplied.
 public String[] getEnhancedSuffixOrder() 
      Deprecated!
    Get the enhanced suffix order
 public DeployerClient getKernelMainDeployer() 
      Deprecated!
 protected ObjectName getObjectName(MBeanServer server,
    ObjectName name) throws MalformedObjectNameException 
      Deprecated!
 public String[] getSuffixOrder() 
      Deprecated!
    Get the ordering of the deployment suffixes
 public File getTempDir() 
      Deprecated!
    Get the temp directory
 public String getTempDirString() 
      Deprecated!
    Get the temp directory
 public URL getWatchUrl(URL url) 
      Deprecated!
    The getWatchUrl method returns the URL that, when modified, indicates that a redeploy is needed.
 public boolean isDeployed(String url) throws MalformedURLException 
      Deprecated!
    The isDeployed method tells you if a package identified by a string representation of a URL is currently deployed.
 public boolean isDeployed(URL url) 
      Deprecated!
    The isDeployed method tells you if a packaged identified by a URL is deployed.
 public Collection listDeployed() 
      Deprecated!
    The listDeployed method returns a collection of DeploymemtInfo objects for the currently deployed packages.
 public String listDeployedAsString() 
      Deprecated!
    Describe listDeployedAsString method here.
 public Collection listDeployedModules() 
      Deprecated!
    The listDeployedModules method returns a collection of SerializableDeploymentInfo objects for the currently deployed packages.
 public Collection listDeployers() 
      Deprecated!
    The listDeployers method returns a collection of ObjectNames of deployers registered with the MainDeployer.
 public Collection listIncompletelyDeployed() 
      Deprecated!
    The listIncompletelyDeployed method returns a list of packages that have not deployed completely. The toString method will include any exception in the status field.
 public Collection listWaitingForDeployer() 
      Deprecated!
    The listWaitingForDeployer method returns a collection of the packages that currently have no identified deployer.
 public  void redeploy(String urlspec) throws DeploymentException, MalformedURLException 
      Deprecated!
    Describe redeploy method here.
 public  void redeploy(URL url) throws DeploymentException 
      Deprecated!
    Describe redeploy method here.
 public  void redeploy(DeploymentInfo sdi) throws DeploymentException 
      Deprecated!
    Describe redeploy method here.
 public  void removeDeployer(SubDeployer deployer) 
      Deprecated!
    The removeDeployer method unregisters a deployer with the MainDeployer. Deployed packages deployed with this deployer are undeployed.
 public  void setController(KernelController controller) 
      Deprecated!
 public  void setCopyFiles(boolean copyFiles) 
      Deprecated!
    Set the flag indicating whether directory content will be deployed. The default value is taken from the jboss.deploy.localcopy system property.
 public  void setEnhancedSuffixOrder(String[] enhancedSuffixOrder) 
      Deprecated!
    Set the enhanced suffix order
 public  void setKernelMainDeployer(DeployerClient delegate) 
      Deprecated!
 public  void setServiceController(ObjectName serviceController) 
      Deprecated!
    Describe setServiceController method here.
 public  void setTempDir(File tempDir) 
      Deprecated!
    Set the temp directory
 public  void shutdown() 
      Deprecated!
    The shutdown method undeploys all deployed packages in reverse order of their deployement.
 public  void start(String urlspec) throws DeploymentException, MalformedURLException 
      Deprecated!
    The start method starts a package identified by a URL
 public  void stop(String urlspec) throws DeploymentException, MalformedURLException 
      Deprecated!
    The stop method stops a package identified by a URL
 public  void undeploy(String urlspec) throws DeploymentException, MalformedURLException 
      Deprecated!
    The undeploy method undeploys a package identified by a string representation of a URL.
 public  void undeploy(URL url) throws DeploymentException 
      Deprecated!
    The undeploy method undeploys a package identified by a URL
 public  void undeploy(DeploymentInfo di) 
      Deprecated!
    The undeploy method undeploys a package represented by a DeploymentInfo object.
 protected  void undeploy(DeploymentInfo di,
    boolean isShutdown) 
      Deprecated!