1 22 package org.jboss.mx.persistence; 23 24 import javax.management.AttributeList ; 25 26 import org.w3c.dom.Element ; 27 43 public interface AttributePersistenceManager 44 { 45 47 72 public void create(String version, Element config) 73 throws Exception ; 74 75 82 public boolean getState(); 83 84 92 public void destroy(); 93 94 96 104 public boolean exists(String id) 105 throws Exception ; 106 107 116 public AttributeList load(String id) 117 throws Exception ; 118 119 129 public void store(String id, AttributeList attrs) 130 throws Exception ; 131 132 138 public void remove(String id) 139 throws Exception ; 140 141 147 public void removeAll() 148 throws Exception ; 149 150 157 public String [] listAll() 158 throws Exception ; 159 160 } 161 | Popular Tags |