org.smartcc
Class EJBDeployer

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

public class EJBDeployer
extends Deployer

Deployment of local session beans. As of this writing, local entity beans are not supported.


Constructor Summary
EJBDeployer()
           
 
Method Summary
 void deploy(java.net.URL url)
          Deploy the local session beans contained in the unit.
 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 ejb-jars, that contain local session beans.
 void undeploy(java.net.URL url)
          Undeploy the local session beans contained in the jar.
 
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

EJBDeployer

public EJBDeployer()
Method Detail

isResponsibleFor

public boolean isResponsibleFor(java.net.URL url)
This deployer is responsible for ejb-jars, that contain local session beans. They are recognized as units, that have a member "META-INF/ejb-jar.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
Deploy the local session beans contained in the unit. A container is created for each session bean. The corresponding home interface proxies are bound to the jndi namespace.

Specified by:
deploy in class Deployer
DeploymentException

undeploy

public void undeploy(java.net.URL url)
              throws DeploymentException
Undeploy the local session beans contained in the jar. The home interfaces proxies are unbound from the jndi namespace.

Specified by:
undeploy in class Deployer
DeploymentException


Copyright © 2002 DC-TSS. All Rights Reserved.