1 17 package org.apache.servicemix.store; 18 19 import java.io.IOException ; 20 21 31 public interface Store { 32 33 String PERSISTENT = "Persistent"; 34 35 String CLUSTERED = "Clustered"; 36 37 String TRANSACTIONAL = "Transactional"; 38 39 44 public boolean hasFeature(String name); 45 46 55 public void store(String id, Object data) throws IOException ; 56 57 65 public String store(Object data) throws IOException ; 66 67 75 public Object load(String id) throws IOException ; 76 77 } 78 | Popular Tags |