1 16 17 package org.apache.jetspeed.om.registry; 18 19 import java.util.Enumeration ; 20 import java.util.Iterator ; 21 22 29 public interface Registry 30 { 31 32 37 public int getEntryCount(); 38 39 45 public RegistryEntry createEntry(); 46 47 53 public RegistryEntry getEntry( String name ) throws RegistryException; 54 55 61 public void setEntry( RegistryEntry entry ) throws RegistryException; 62 63 69 public void addEntry( RegistryEntry entry ) throws RegistryException; 70 71 77 public boolean hasEntry( String name ); 78 79 84 public void removeEntry( RegistryEntry entry ); 85 86 91 public void removeEntry( String name ); 92 93 98 public Enumeration getEntries(); 99 100 105 public Iterator listEntryNames(); 106 107 112 public RegistryEntry[] toArray(); 113 114 } 115 116 117 | Popular Tags |