1 22 package org.jboss.ejb3.mdb; 23 24 import java.util.HashMap ; 25 import javax.ejb.ActivationConfigProperty ; 26 27 33 public class ActivationSpec extends HashMap <String , String > 34 { 35 36 public void merge(ActivationConfigProperty prop) 37 { 38 put(prop.propertyName(), prop.propertyValue()); 39 } 40 41 public void merge(ActivationConfigProperty [] props) 42 { 43 for (ActivationConfigProperty prop : props) 44 { 45 merge(prop); 46 } 47 } 48 49 50 } 51 | Popular Tags |