org.apache.jetspeed.services
Class Registry

java.lang.Object
  extended byorg.apache.jetspeed.services.Registry

public class Registry
extends java.lang.Object

This is a commodity static accessor class around the RegistryService

Version:
$Id: Registry.java,v 1.10 2005/03/21 18:21:43 sgala Exp $
Author:
Raphaël Luta
See Also:
RegistryService

Field Summary
static java.lang.String CLIENT
          Default Client Registry name
static java.lang.String MEDIA_TYPE
          Default MediaType Registry name
static java.lang.String PORTLET
          Default Portlet Registry name
static java.lang.String PORTLET_CONTROL
          Default PortletControl Registry name
static java.lang.String PORTLET_CONTROLLER
          Default PortletController Registry name
static java.lang.String SECURITY
          Default Security Registry name
static java.lang.String SKIN
          Default Skin Registry name
 
Constructor Summary
Registry()
           
 
Method Summary
static void addEntry(java.lang.String regName, RegistryEntry value)
           
static RegistryEntry createEntry(java.lang.String regName)
           
static Registry get(java.lang.String regName)
           
static RegistryEntry getEntry(java.lang.String regName, java.lang.String entryName)
           
static java.util.Enumeration getNames()
           
static void removeEntry(java.lang.String regName, java.lang.String entryName)
           
static void saveEntry(java.lang.String regName, RegistryEntry value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORTLET

public static java.lang.String PORTLET
Default Portlet Registry name


PORTLET_CONTROL

public static java.lang.String PORTLET_CONTROL
Default PortletControl Registry name


PORTLET_CONTROLLER

public static java.lang.String PORTLET_CONTROLLER
Default PortletController Registry name


MEDIA_TYPE

public static java.lang.String MEDIA_TYPE
Default MediaType Registry name


CLIENT

public static java.lang.String CLIENT
Default Client Registry name


SECURITY

public static java.lang.String SECURITY
Default Security Registry name


SKIN

public static java.lang.String SKIN
Default Skin Registry name

Constructor Detail

Registry

public Registry()
Method Detail

getNames

public static java.util.Enumeration getNames()
See Also:
RegistryService.getNames()

get

public static Registry get(java.lang.String regName)
See Also:
RegistryService.get(java.lang.String)

createEntry

public static RegistryEntry createEntry(java.lang.String regName)
See Also:
RegistryService.createEntry(java.lang.String)

getEntry

public static RegistryEntry getEntry(java.lang.String regName,
                                     java.lang.String entryName)
See Also:
RegistryService.getEntry(java.lang.String, java.lang.String)

addEntry

public static void addEntry(java.lang.String regName,
                            RegistryEntry value)
                     throws RegistryException
Throws:
RegistryException
See Also:
RegistryService.addEntry(java.lang.String, org.apache.jetspeed.om.registry.RegistryEntry)

saveEntry

public static void saveEntry(java.lang.String regName,
                             RegistryEntry value)
                      throws RegistryException
Throws:
RegistryException
See Also:
RegistryService.saveEntry(java.lang.String, org.apache.jetspeed.om.registry.RegistryEntry)

removeEntry

public static void removeEntry(java.lang.String regName,
                               java.lang.String entryName)
See Also:
RegistryService.removeEntry(java.lang.String, java.lang.String)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.