org.jboss.ejb3.nointerface.impl.deployers
Class EJB3NoInterfaceDeployer

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.jboss.ejb3.nointerface.impl.deployers.EJB3NoInterfaceDeployer
All Implemented Interfaces:
org.jboss.deployers.spi.deployer.Deployer, org.jboss.deployers.spi.Ordered

public class EJB3NoInterfaceDeployer
extends org.jboss.deployers.spi.deployer.helpers.AbstractDeployer

EJB3NoInterfaceDeployer Deployer responsible for processing EJB3 deployments with a no-interface view.

Version:
$Revision: $
Author:
Jaikiran Pai
See Also:
for the deployment unit processing details.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
org.jboss.deployers.spi.Ordered.OrderedComparator
 
Field Summary
 
Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
log
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
EJB3NoInterfaceDeployer()
          Constructor
 
Method Summary
 void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
          Process the deployment unit and deploy appropriate MC beans (see details below) if it corresponds to a no-interface view deployment.
 void undeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit, org.jboss.metadata.ejb.jboss.JBossMetaData deployment)
          Undeploy
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutput, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setWantComponents, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJB3NoInterfaceDeployer

public EJB3NoInterfaceDeployer()
Constructor

Method Detail

deploy

public void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
            throws org.jboss.deployers.spi.DeploymentException
Process the deployment unit and deploy appropriate MC beans (see details below) if it corresponds to a no-interface view deployment. If any beans in the unit are eligible for no-interface view, then internally this method creates a NoInterfaceViewJNDIBinderFacade MC bean for the no-interface view. The NoInterfaceViewJNDIBinderFacade, thus created, will be dependent on the ControllerState.DESCRIBED state of the container (endpoint) MC bean. This way, we ensure that this NoInterfaceViewJNDIBinderFacade will be deployed only after the corresponding container MC bean moves to ControllerState.DESCRIBED state.

Throws:
org.jboss.deployers.spi.DeploymentException

undeploy

public void undeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit,
                     org.jboss.metadata.ejb.jboss.JBossMetaData deployment)
Undeploy

Parameters:
unit -
deployment -


Copyright © 2010. All Rights Reserved.