FileDocCategorySizeDatePackage
EjbJarDD.javaAPI DocJBoss 4.2.14285Fri Jul 13 20:53:56 BST 2007org.jboss.ejb3.metamodel

EjbJarDD

public class EjbJarDD extends Object
Represents the ejb-jar.xml deployment descriptor for the 2.1 schema
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private static final Logger
log
private String
version
private String
displayName
private Relationships
relationships
private AssemblyDescriptor
assemblyDescriptor
private Interceptors
interceptors
private String
securityDomain
private String
unauthenticatedPrincipal
private String
jmxName
private HashMap
resourceManagers
private EnterpriseBeans
enterpriseBeans
Constructors Summary
Methods Summary
public voidaddResourceManager(ResourceManager manager)

   
      
   
      resourceManagers.put(manager.getResourceName(), manager);
   
public AssemblyDescriptorgetAssemblyDescriptor()

      return assemblyDescriptor;
   
public java.lang.StringgetDisplayName()

      return displayName;
   
public EnterpriseBeansgetEnterpriseBeans()

      return enterpriseBeans;
   
public InterceptorsgetInterceptors()

      return interceptors;
   
public java.lang.StringgetJmxName()

      return jmxName;
   
public RelationshipsgetRelationships()

      return relationships;
   
public java.lang.StringgetSecurityDomain()

      return securityDomain;
   
public java.lang.StringgetUnauthenticatedPrincipal()

      return unauthenticatedPrincipal;
   
public java.lang.StringgetVersion()

      return version;
   
public java.lang.StringresolveResourceManager(java.lang.String resourceName)

      ResourceManager manager = resourceManagers.get(resourceName);
      if (manager != null)
         return manager.getResourceJndiName();
      
      return null;
   
public voidsetAssemblyDescriptor(AssemblyDescriptor assemblyDescriptor)

      this.assemblyDescriptor = assemblyDescriptor;
   
public voidsetDisplayName(java.lang.String displayName)

      this.displayName = displayName;
   
public voidsetEnterpriseBeans(EnterpriseBeans enterpriseBeans)

      this.enterpriseBeans = enterpriseBeans;
   
public voidsetInterceptors(Interceptors interceptors)

      this.interceptors = interceptors;
   
public voidsetJmxName(java.lang.String jmxName)

      this.jmxName = jmxName;
   
public voidsetRelationships(Relationships relationships)

      this.relationships = relationships;
   
public voidsetSecurityDomain(java.lang.String securityDomain)

      this.securityDomain = securityDomain;
   
public voidsetUnauthenticatedPrincipal(java.lang.String unauthenticatedPrincipal)

      this.unauthenticatedPrincipal = unauthenticatedPrincipal;
   
public voidsetVersion(java.lang.String version)

      this.version = version;
   
public java.lang.StringtoString()

      StringBuffer sb = new StringBuffer(100);
      sb.append('[");
      sb.append("version=").append(version);
      sb.append(",");
      sb.append("displayName=").append(displayName);
      sb.append(']");
      return sb.toString();