org.apache.pluto.portalImpl.services.pageregistry

Class PageRegistryServiceFileImpl

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CONFIG_FILE 
      static java.lang.String DEFAULT_MAPPING 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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
    • Constructor Detail

      • PageRegistryServiceFileImpl

        public PageRegistryServiceFileImpl()
    • Method Detail

      • 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 configuration
        properties - 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
      • 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-2013 . All Rights Reserved.