|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This service is a facade for all registry related operations
Registry
Field Summary | |
static java.lang.String |
SERVICE_NAME
The name of this service |
Method Summary | |
void |
addEntry(java.lang.String regName,
RegistryEntry entry)
Add a new RegistryEntry in the named Registry. |
RegistryEntry |
createEntry(java.lang.String regName)
Creates a new RegistryEntry instance compatible with the current Registry instance implementation |
Registry |
get(java.lang.String regName)
Returns a Registry object for further manipulation |
RegistryEntry |
getEntry(java.lang.String regName,
java.lang.String entryName)
Returns a RegistryEntry from the named Registry. |
java.util.Enumeration |
getNames()
List all the registry currently available to this service |
void |
removeEntry(java.lang.String regName,
java.lang.String entryName)
Deletes a RegistryEntry from the named Registry This is a convenience wrapper around Registry.removeEntry(org.apache.jetspeed.om.registry.RegistryEntry) |
void |
saveEntry(java.lang.String regName,
RegistryEntry entryName)
Saves a RegistryEntry to the named Registry. |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public Registry get(java.lang.String regName)
regName
- the name of the registry to fetch
public RegistryEntry createEntry(java.lang.String regName)
regName
- the name of the registry to use
public RegistryEntry getEntry(java.lang.String regName, java.lang.String entryName)
Registry.getEntry(java.lang.String)
regName
- the name of the registryentryName
- the name of the entry to retrieve from the
registry
public void addEntry(java.lang.String regName, RegistryEntry entry) throws RegistryException
Registry.addEntry(org.apache.jetspeed.om.registry.RegistryEntry)
regName
- the name of the registryentry
- the Registry entry to add
Sends
- a RegistryException if the manager can't add
the provided entry
RegistryException
public void removeEntry(java.lang.String regName, java.lang.String entryName)
Registry.removeEntry(org.apache.jetspeed.om.registry.RegistryEntry)
regName
- the name of the registryentryName
- the name of the entry to removepublic void saveEntry(java.lang.String regName, RegistryEntry entryName) throws RegistryException
Registry.removeEntry(org.apache.jetspeed.om.registry.RegistryEntry)
regName
- the name of the registryentryName
- the name of the entry to remove
RegistryException
public java.util.Enumeration getNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |