1 22 package org.jboss.deployers.spi.management; 23 24 import java.io.Serializable ; 25 import java.util.ArrayList ; 26 import java.util.List ; 27 28 import org.jboss.profileservice.spi.PropertyInfo; 29 30 36 public class ManagedObject 37 implements Serializable 38 { 39 private static final long serialVersionUID = 1; 40 41 private ArrayList <PropertyInfo> properties = new ArrayList <PropertyInfo>(); 42 43 public ManagedObject() 44 { 45 } 46 47 public List <PropertyInfo> getProperties() 48 { 49 return properties; 50 } 51 52 public boolean addPropertyRef(PropertyInfo ref) 53 { 54 return properties.add(ref); 55 } 56 public boolean removePropertyRef(PropertyInfo ref) 57 { 58 return properties.remove(ref); 59 } 60 public int getSize() 61 { 62 return properties.size(); 63 } 64 public void clear() 65 { 66 properties.clear(); 67 } 68 } 69 | Popular Tags |