FileDocCategorySizeDatePackage
DefaultActivationSpecsImpl.javaAPI DocJBoss 4.2.12400Fri Jul 13 20:54:02 BST 2007org.jboss.annotation.ejb

DefaultActivationSpecsImpl

public class DefaultActivationSpecsImpl extends Object implements DefaultActivationSpecs
version
$Revision: 60233 $
author
William DeCoste

Fields Summary
private HashMap
activationConfigProperties
Constructors Summary
public DefaultActivationSpecsImpl()

   
    
   
   
Methods Summary
public voidaddActivationConfigProperty(javax.ejb.ActivationConfigProperty property)

      activationConfigProperties.put(property.propertyName(), property);
   
public java.lang.ClassannotationType()

      return DefaultActivationSpecs.class;
   
public voidmerge(DefaultActivationSpecs annotation)

   
      for (ActivationConfigProperty property : annotation.value())
      {
         if (!activationConfigProperties.containsKey(property.propertyName()))
         {
            activationConfigProperties.put(property.propertyName(), property);
         }
      }
   
public javax.ejb.ActivationConfigProperty[]value()

      ActivationConfigProperty[] value = new ActivationConfigProperty[activationConfigProperties.size()];
      activationConfigProperties.values().toArray(value);
      return value;