FileDocCategorySizeDatePackage
Ejb3JBoss5Deployment.javaAPI DocJBoss 4.2.12905Fri Jul 13 20:53:48 BST 2007org.jboss.ejb3.deployers

Ejb3JBoss5Deployment

public class Ejb3JBoss5Deployment extends org.jboss.ejb3.Ejb3Deployment
JBoss 4.0 Microkernel specific implementation
author
Bill Burke
version
$Revision: 56592 $

Fields Summary
private org.jboss.deployers.spi.deployer.DeploymentUnit
deploymentInfo
private static final Logger
log
Constructors Summary
public Ejb3JBoss5Deployment(org.jboss.ejb3.DeploymentUnit du, org.jboss.kernel.Kernel kernel, MBeanServer mbeanServer, org.jboss.deployers.spi.deployer.DeploymentUnit di, org.jboss.ejb3.DeploymentScope deploymentScope)


             
   
      super(du, deploymentScope);
      this.deploymentInfo = di;
      kernelAbstraction = new MCKernelAbstraction(kernel, mbeanServer);

      // todo maybe mbeanServer should be injected?
      this.mbeanServer = mbeanServer;
   
Methods Summary
public org.jboss.ejb3.DependencyPolicycreateDependencyPolicy()

      return new JBoss5DependencyPolicy();
   
protected javax.security.jacc.PolicyConfigurationcreatePolicyConfiguration()

      return JaccHelper.initialiseJacc(getJaccContextId());

   
protected voidputJaccInService(javax.security.jacc.PolicyConfiguration pc, org.jboss.ejb3.DeploymentUnit unit)

      try
      {
         JaccHelper.putJaccInService(pc, deploymentInfo);
      }
      catch (Exception e)
      {
         throw new RuntimeException(e);
      }