PageRegistryService.
This store persit the PageRegistry informations.
Method Summary |
void |
addFragment(Fragment fragment)
Add a fragment to the page registry. |
Fragment |
getFragment(java.lang.String id)
Returns the fragment with the given id. |
RootFragment |
getRootFragment()
Returns the description of the complete portal site. |
void |
init(javax.servlet.ServletConfig config,
Properties properties)
Initializes the service using the servlet configuration
and the service properties. |
void |
postInit(javax.servlet.ServletConfig config)
This methods can be used to setup things after the services has
been initialized via init. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_FILE
public static final java.lang.String CONFIG_FILE
- See Also:
- Constant Field Values
DEFAULT_MAPPING
public static final java.lang.String DEFAULT_MAPPING
- See Also:
- Constant Field Values
PageRegistryServiceFileImpl
public PageRegistryServiceFileImpl()
init
public void init(javax.servlet.ServletConfig config,
Properties properties)
throws java.lang.Exception
- Description copied from class:
Service
- Initializes the service using the servlet configuration
and the service properties.
- Overrides:
init
in class Service
- Parameters:
config
- the servlet configurationproperties
- the service properties
- Throws:
java.lang.Exception
- if the initialization fails
postInit
public void postInit(javax.servlet.ServletConfig config)
throws java.lang.Exception
- Description copied from class:
Service
- This methods can be used to setup things after the services has
been initialized via init.
- Overrides:
postInit
in class Service
- Throws:
java.lang.Exception
- if the postInit fails for any reason
getRootFragment
public RootFragment getRootFragment()
- Description copied from class:
PageRegistryService
- Returns the description of the complete portal site.
- Specified by:
getRootFragment
in class PageRegistryService
- Returns:
- the object model description
getFragment
public Fragment getFragment(java.lang.String id)
- Description copied from class:
PageRegistryService
- Returns the fragment with the given id.
return the fragment object with this id
- Specified by:
getFragment
in class PageRegistryService
addFragment
public void addFragment(Fragment fragment)
throws java.lang.Exception
- Description copied from class:
PageRegistryService
- Add a fragment to the page registry.
- Specified by:
addFragment
in class PageRegistryService
- Parameters:
fragment
- the fragment to add
- Throws:
java.lang.Exception
Copyright © 2003-2007 . All Rights Reserved.