FileDocCategorySizeDatePackage
EJB3StandaloneDeployment.javaAPI DocJBoss 4.2.15593Fri Jul 13 20:53:50 BST 2007org.jboss.ejb3.embedded

EJB3StandaloneDeployment

public class EJB3StandaloneDeployment extends org.jboss.ejb3.Ejb3Deployment
Use this class when you want to manually specify classes you want deployed.
author
Bill Burke
version
$Revision: 60233 $

Fields Summary
Constructors Summary
public EJB3StandaloneDeployment(org.jboss.ejb3.DeploymentUnit di, org.jboss.kernel.Kernel kernel, MBeanServer mbeanServer)

      super(di, null);
   
      defaultSFSBDomain = "Embedded Stateful Bean";
      kernelAbstraction = new MCKernelAbstraction(kernel, mbeanServer);
      this.mbeanServer = mbeanServer;
   
Methods Summary
public org.jboss.ejb3.DependencyPolicycreateDependencyPolicy()

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

      return JaccHelper.initialiseJacc(getJaccContextId());
   
protected voidputJaccInService(javax.security.jacc.PolicyConfiguration pc, org.jboss.ejb3.DeploymentUnit unit)

      /*
      try
      {
         pc.commit();
      }
      catch (Exception e)
      {
         throw new RuntimeException(e);
      }\
      */
   
public voidsetMbeanServer(javax.management.MBeanServer mbeanServer)

      super.setMbeanServer(mbeanServer);
      
      kernelAbstraction.setMbeanServer(mbeanServer);