org.apache.lenya.cms.repository
Class RepositoryManagerImpl

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.cms.repository.RepositoryManagerImpl
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, RepositoryManager

public class RepositoryManagerImpl
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements RepositoryManager, org.apache.avalon.framework.service.Serviceable

Repository manager implementation.

Version:
$Id:$

Field Summary
protected  org.apache.avalon.framework.service.ServiceManager manager
           
 
Fields inherited from interface org.apache.lenya.cms.repository.RepositoryManager
ROLE
 
Constructor Summary
RepositoryManagerImpl()
           
 
Method Summary
 Session createSession(Identity identity, boolean modifiable)
           
 void service(org.apache.avalon.framework.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
 

Field Detail

manager

protected org.apache.avalon.framework.service.ServiceManager manager
Constructor Detail

RepositoryManagerImpl

public RepositoryManagerImpl()
Method Detail

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException
See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)

createSession

public Session createSession(Identity identity,
                             boolean modifiable)
                      throws RepositoryException
Specified by:
createSession in interface RepositoryManager
Parameters:
identity - The identity the session belongs to.
modifiable - Determines if the repository items in this session should be modifiable.
Returns:
A session.
Throws:
RepositoryException - if an error occurs.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.