FileDocCategorySizeDatePackage
Ejb3JmxDeployment.javaAPI DocJBoss 4.2.12394Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3

Ejb3JmxDeployment

public class Ejb3JmxDeployment extends Ejb3Deployment
JBoss 4.0 Microkernel specific implementation
author
Bill Burke
version
$Revision: 60233 $

Fields Summary
private org.jboss.deployment.DeploymentInfo
deploymentInfo
private static final Logger
log
Constructors Summary
public Ejb3JmxDeployment(org.jboss.deployment.DeploymentInfo di, DeploymentScope deploymentScope)


       
   
      super(new JmxDeploymentUnit(di), deploymentScope);
      this.deploymentInfo = di;
      kernelAbstraction = new JmxKernelAbstraction(di);

      // todo maybe mbeanServer should be injected?
      mbeanServer = di.getServer();
   
Methods Summary
public DependencyPolicycreateDependencyPolicy()

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

      return JaccHelper.initialiseJacc(getJaccContextId());

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

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