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

JmxDeploymentScopeImpl

public class JmxDeploymentScopeImpl extends Object implements DeploymentScope
JMX JBoss 4.x Kernel abstraction for an ear.
author
Bill Burke
version
$Revision: 1.17 $

Fields Summary
private ConcurrentHashMap
deployments
private String
shortName
private String
baseName
Constructors Summary
public JmxDeploymentScopeImpl(String shortName)


     
   
      this.shortName = shortName;
      int idx = shortName.lastIndexOf('.");
      baseName = shortName.substring(0, idx);
   
Methods Summary
public Ejb3DeploymentfindRelativeDeployment(java.lang.String relativeName)

      String relativeShortName = relativeName.substring(3);
      return deployments.get(relativeShortName);
   
public java.lang.StringgetBaseName()

      return baseName;
   
public java.util.CollectiongetEjbDeployments()

      return deployments.values();
   
public java.lang.StringgetShortName()

      return shortName;
   
public voidregister(Ejb3Deployment deployment)

      deployments.put(deployment.getDeploymentUnit().getShortName(), deployment);
   
public voidunregister(Ejb3Deployment deployment)

      deployments.remove(deployment.getDeploymentUnit().getShortName());