org.apache.cocoon.forms.formmodel.library
Class LibraryManagerImpl

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.forms.formmodel.library.LibraryManagerImpl
All Implemented Interfaces:
Configurable, Disposable, Initializable, LibraryManager, LogEnabled, Serviceable, ThreadSafe

public class LibraryManagerImpl
extends AbstractLogEnabled
implements LibraryManager, ThreadSafe, Serviceable, Configurable, Initializable, Disposable

Version:
$Id: LibraryManagerImpl.java 289538 2005-09-16 13:46:22Z sylvain $

Field Summary
protected static String PREFIX
           
 
Fields inherited from interface org.apache.cocoon.forms.formmodel.library.LibraryManager
ROLE
 
Constructor Summary
LibraryManagerImpl()
           
 
Method Summary
 void configure(Configuration configuration)
           
 void debug(String msg)
           
 void dispose()
           
 Library getLibrary(String librarysource)
           
 Library getLibrary(String librarysource, String relative)
           
 Library getNewLibrary()
           
 void initialize()
           
 boolean libraryInCache(String librarysource)
           
 boolean libraryInCache(String librarysource, String relative)
           
 void service(ServiceManager serviceManager)
           
 
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

PREFIX

protected static final String PREFIX
See Also:
Constant Field Values
Constructor Detail

LibraryManagerImpl

public LibraryManagerImpl()
Method Detail

configure

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

service

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

initialize

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

libraryInCache

public boolean libraryInCache(String librarysource)
                       throws Exception
Specified by:
libraryInCache in interface LibraryManager
Throws:
Exception

libraryInCache

public boolean libraryInCache(String librarysource,
                              String relative)
                       throws Exception
Specified by:
libraryInCache in interface LibraryManager
Throws:
Exception

getLibrary

public Library getLibrary(String librarysource)
                   throws Exception
Specified by:
getLibrary in interface LibraryManager
Throws:
Exception

getLibrary

public Library getLibrary(String librarysource,
                          String relative)
                   throws Exception
Specified by:
getLibrary in interface LibraryManager
Throws:
Exception

getNewLibrary

public Library getNewLibrary()
Specified by:
getNewLibrary in interface LibraryManager

dispose

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

debug

public void debug(String msg)
Specified by:
debug in interface LibraryManager


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.