net.sourceforge.geeboss.model.editors
Class MemoryEditorsManager

java.lang.Object
  extended by net.sourceforge.geeboss.model.editors.EditorsManager
      extended by net.sourceforge.geeboss.model.editors.MemoryEditorsManager
All Implemented Interfaces:
LoadConfigurationSupport

public class MemoryEditorsManager
extends EditorsManager

Memory based editors manager in the geeboss application

Author:
Frederic BORRY

Constructor Summary
MemoryEditorsManager(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Create a MemoryManager given it's configuration
 
Method Summary
 EditorHandler createEditorHandlerInstance(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Create an editor handler instance for this manager given the editor's configuration
 MemoryObjectEditorHandler getEditorHandler(MemoryObject memoryObject)
          Get the editor handler associated to a memory object
 java.util.List<MemoryObjectEditorHandler> getEditorHandlers(MemoryValue memoryValue)
          Get the editor handlers associated to a memory value
 void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Load this EditorsManager's configuration
 
Methods inherited from class net.sourceforge.geeboss.model.editors.EditorsManager
getEditorHandlers, getPedalHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryEditorsManager

public MemoryEditorsManager(org.apache.avalon.framework.configuration.Configuration configuration,
                            GeebossContainer container)
                     throws org.apache.avalon.framework.configuration.ConfigurationException
Create a MemoryManager given it's configuration

Parameters:
configuration - the configuration object
container - the geeboss container
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
Method Detail

getEditorHandler

public MemoryObjectEditorHandler getEditorHandler(MemoryObject memoryObject)
Get the editor handler associated to a memory object

Parameters:
memoryObject - the memory object
Returns:
the editor handler associated to a memory object or null

getEditorHandlers

public java.util.List<MemoryObjectEditorHandler> getEditorHandlers(MemoryValue memoryValue)
Get the editor handlers associated to a memory value

Parameters:
memoryValue - the memory value
Returns:
the editor handlers associated to a memory value

loadConfiguration

public void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration,
                              GeebossContainer container)
                       throws org.apache.avalon.framework.configuration.ConfigurationException
Load this EditorsManager's configuration

Specified by:
loadConfiguration in interface LoadConfigurationSupport
Overrides:
loadConfiguration in class EditorsManager
Parameters:
configuration - the configuration object
container - the geeboss container
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

createEditorHandlerInstance

public EditorHandler createEditorHandlerInstance(org.apache.avalon.framework.configuration.Configuration configuration,
                                                 GeebossContainer container)
                                          throws org.apache.avalon.framework.configuration.ConfigurationException
Create an editor handler instance for this manager given the editor's configuration

Specified by:
createEditorHandlerInstance in class EditorsManager
Parameters:
configuration - the editor's configuraion
container - the geeboss container
Returns:
the created EditorHandler instance
Throws:
org.apache.avalon.framework.configuration.ConfigurationException


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.