org.apache.cocoon.components.slide.impl
Class SlideRepositoryImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.slide.impl.SlideRepositoryImpl
All Implemented Interfaces:
Disposable, Initializable, Configurable, Contextualizable, LogEnabled, Serviceable, ThreadSafe, SlideRepository

public class SlideRepositoryImpl
extends AbstractLogEnabled
implements SlideRepository, Contextualizable, Serviceable, Configurable, Initializable, Disposable, ThreadSafe

The class represent a manger for slide repositories

Version:
CVS $Id: SlideRepositoryImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
 
Fields inherited from interface org.apache.cocoon.components.slide.SlideRepository
ROLE
 
Constructor Summary
SlideRepositoryImpl()
           
 
Method Summary
 void configure(Configuration configuration)
           
 void contextualize(Context context)
           
 void dispose()
           
 org.apache.slide.common.NamespaceAccessToken getDefaultNamespaceToken()
          Returns a token for the access of the default namespace.
 org.apache.slide.common.NamespaceAccessToken getNamespaceToken(String namespaceName)
          Returns a token for the access of a namespace.
 void initialize()
           
 void service(ServiceManager manager)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlideRepositoryImpl

public SlideRepositoryImpl()
Method Detail

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException

initialize

public void initialize()
                throws Exception
Specified by:
initialize in interface Initializable
Throws:
Exception

dispose

public void dispose()
Specified by:
dispose in interface Disposable

getDefaultNamespaceToken

public org.apache.slide.common.NamespaceAccessToken getDefaultNamespaceToken()
Returns a token for the access of the default namespace.

Specified by:
getDefaultNamespaceToken in interface SlideRepository
Returns:
NamespaceAccessToken Access token to the namespace

getNamespaceToken

public org.apache.slide.common.NamespaceAccessToken getNamespaceToken(String namespaceName)
Returns a token for the access of a namespace.

Specified by:
getNamespaceToken in interface SlideRepository
Parameters:
namespaceName - Name of the namespace on which access is requested
Returns:
NamespaceAccessToken Access token to the namespace


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.