org.smartcc
Class Deployer

java.lang.Object
  |
  +--org.smartcc.Deployer
Direct Known Subclasses:
ApplicationClientDeployer, EJBDeployer, MainDeployer

public abstract class Deployer
extends java.lang.Object

Baseclass for deployers.


Constructor Summary
Deployer()
           
 
Method Summary
abstract  void deploy(java.net.URL url)
          Deploy a unit.
protected static org.w3c.dom.Document getDocument(org.xml.sax.InputSource source, java.lang.String fileName)
           
protected static org.w3c.dom.Document getDocument(java.net.URL url)
           
abstract  boolean isDeployed(java.net.URL url)
          Ask, if the unit has been deployed already.
abstract  boolean isResponsibleFor(java.net.URL url)
          Ask, if the deployer is able to deploy the specified unit.
abstract  void undeploy(java.net.URL url)
          Undeploy a unit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deployer

public Deployer()
Method Detail

isResponsibleFor

public abstract boolean isResponsibleFor(java.net.URL url)
Ask, if the deployer is able to deploy the specified unit.


isDeployed

public abstract boolean isDeployed(java.net.URL url)
                            throws DeploymentException
Ask, if the unit has been deployed already.

DeploymentException

deploy

public abstract void deploy(java.net.URL url)
                     throws DeploymentException
Deploy a unit.

DeploymentException

undeploy

public abstract void undeploy(java.net.URL url)
                       throws DeploymentException
Undeploy a unit.

DeploymentException

getDocument

protected static org.w3c.dom.Document getDocument(java.net.URL url)
                                           throws DeploymentException
DeploymentException

getDocument

protected static org.w3c.dom.Document getDocument(org.xml.sax.InputSource source,
                                                  java.lang.String fileName)
                                           throws DeploymentException
DeploymentException


Copyright © 2002 DC-TSS. All Rights Reserved.