1 16 17 package org.apache.jetspeed.services.registry; 18 19 import org.apache.jetspeed.om.registry.Registry; 20 import org.apache.jetspeed.om.registry.RegistryEntry; 21 import org.apache.jetspeed.om.registry.RegistryException; 22 import org.apache.turbine.services.Service; 23 import java.util.Enumeration ; 24 25 32 public interface RegistryService extends Service 33 { 34 35 36 public String SERVICE_NAME = "Registry"; 37 38 44 public Registry get( String regName ); 45 46 53 public RegistryEntry createEntry( String regName ); 54 55 65 public RegistryEntry getEntry( String regName, String entryName ); 66 67 77 public void addEntry( String regName, RegistryEntry entry ) 78 throws RegistryException; 79 80 88 public void removeEntry( String regName, String entryName ); 89 90 95 public Enumeration getNames(); 96 97 } 98 | Popular Tags |