org.apache.lenya.cms.repository
Class SourceNodeFactory

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.cms.repository.SourceNodeFactory
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, org.apache.lenya.cms.repository.NodeFactory, org.apache.lenya.cms.repository.RepositoryItemFactory

public class SourceNodeFactory
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.lenya.cms.repository.NodeFactory, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe

Factory to create source nodes.

Version:
$Id: SourceNodeFactory.java 567725 2007-08-20 15:10:20Z andreas $

Field Summary
 
Fields inherited from interface org.apache.lenya.cms.repository.NodeFactory
ROLE
 
Constructor Summary
SourceNodeFactory()
          Ctor.
 
Method Summary
 org.apache.lenya.cms.repository.RepositoryItem buildItem(org.apache.lenya.cms.repository.Session session, java.lang.String key)
           
 java.lang.String getItemType()
           
 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
 

Constructor Detail

SourceNodeFactory

public SourceNodeFactory()
Ctor.

Method Detail

buildItem

public org.apache.lenya.cms.repository.RepositoryItem buildItem(org.apache.lenya.cms.repository.Session session,
                                                                java.lang.String key)
                                                         throws org.apache.lenya.cms.repository.RepositoryException
Specified by:
buildItem in interface org.apache.lenya.cms.repository.RepositoryItemFactory
Throws:
org.apache.lenya.cms.repository.RepositoryException

getItemType

public java.lang.String getItemType()
Specified by:
getItemType in interface org.apache.lenya.cms.repository.RepositoryItemFactory

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)


Copyright $ Apache Software Foundation. All Rights Reserved.