org.olat.core.manager
Class BasicManager

java.lang.Object
  extended by org.olat.core.logging.LogDelegator
      extended by org.olat.core.manager.BasicManager
Direct Known Subclasses:
ContextHelpManager, FeedManager, GlossaryItemManager, I18nManager, SystemRegistrationManager, TranslationDevManager

public abstract class BasicManager
extends LogDelegator

Description:

The BasicManager provides common methods used in a manager like logging. A manager implements the business logic on the data layer. It provides methods that are used by controllers or other managers to build workflows or to implement complex business rules where multiple managers are involved.

A manager should be state-less and be implemented as a singleton. In rare situations it can make sense to have state-full managers that feature a cache or something. In those cases you should implement a destroy method and call this method from your component module. An alternative to state-full managers is to externalize the statefull elements to dedicated objects and access them via the component module.

If your manager needs initialization, it should be initialized from the component module.

Initial Date: 28.08.2008

Author:
Florian Gnaegi, frentix GmbH, http://www.frentix.com

Constructor Summary
BasicManager()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicManager

public BasicManager()