1 22 package org.jboss.ejb3; 23 24 import java.util.HashSet ; 25 import org.jboss.system.ServiceMBeanSupport; 26 27 33 public class JarsIgnoredForScanning extends ServiceMBeanSupport implements JarsIgnoredForScanningMBean 34 { 35 String [] ignoredJars; 36 HashSet ignoredJarsSet = new HashSet (); 37 38 public String [] getIgnoredJars() 39 { 40 return ignoredJars; 41 } 42 43 public void setIgnoredJars(String [] ignoredJars) 44 { 45 this.ignoredJars = ignoredJars; 46 for (String jar : ignoredJars) 47 { 48 ignoredJarsSet.add(jar.trim()); 49 } 50 } 51 52 public HashSet getIgnoredJarsSet() 53 { 54 return ignoredJarsSet; 55 } 56 57 public void setIgnoredJarsSet(HashSet ignoredJarsSet) 58 { 59 this.ignoredJarsSet = ignoredJarsSet; 60 } 61 62 } 63 | Popular Tags |