org.smartcc
Class ApplicationClientDeployer

java.lang.Object
  |
  +--org.smartcc.Deployer
        |
        +--org.smartcc.ApplicationClientDeployer

public class ApplicationClientDeployer
extends Deployer

Deployment of application clients.

Version:
$Revision: 1.1.1.1 $
Author:
Holger Engels

Constructor Summary
ApplicationClientDeployer()
           
 
Method Summary
 void deploy(java.net.URL url)
          Read the deployment descriptors and install ejb-refs, ejb-local-refs and env-entries.
 boolean isDeployed(java.net.URL url)
          Ask, if the unit has been deployed already.
 boolean isResponsibleFor(java.net.URL url)
          This deployer is responsible for application clients.
 void undeploy(java.net.URL url)
          Undeploy an application client.
 
Methods inherited from class org.smartcc.Deployer
getDocument, getDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationClientDeployer

public ApplicationClientDeployer()
Method Detail

isResponsibleFor

public boolean isResponsibleFor(java.net.URL url)
This deployer is responsible for application clients. They are recognized as units, that have a member "META-INF/application-client.xml"

Specified by:
isResponsibleFor in class Deployer

isDeployed

public boolean isDeployed(java.net.URL url)
Description copied from class: Deployer
Ask, if the unit has been deployed already.

Specified by:
isDeployed in class Deployer

deploy

public void deploy(java.net.URL url)
            throws DeploymentException
Read the deployment descriptors and install ejb-refs, ejb-local-refs and env-entries. The ApplicationClientMetaData is initialized from the resources:

undeploy

public void undeploy(java.net.URL url)
              throws DeploymentException
Undeploy an application client. Unbind the env-entries as well as the smart refs and smart local refs.

Specified by:
undeploy in class Deployer
DeploymentException


Copyright © 2002 DC-TSS. All Rights Reserved.