Keel 2.1RC2

org.keel.models.util
Class DisplayConfig

java.lang.Object
  extended byorg.keel.services.model.StandardModel
      extended byorg.keel.services.model.StandardLogEnabledModel
          extended byorg.keel.services.model.SecurableStandardLogEnabledModel
              extended byorg.keel.models.util.DisplayConfig
All Implemented Interfaces:
Configurable, Contextualizable, LogEnabled, Model, Securable, ThreadSafe

public class DisplayConfig
extends SecurableStandardLogEnabledModel
implements Contextualizable, ThreadSafe

Display all available configuration information NOTE: It is *extremely important* that this model be correctly secured! If necessary, you can remove it's role definition and configuration (from roles.xconf and system.xconf) to ensure it cannot be accessed in a production system.

Version:
$Revision: 1.1 $ $Date: 2003/12/29 07:09:30 $
Author:
Michael Nash

Field Summary
private  Context context
           
 
Fields inherited from class org.keel.services.model.SecurableStandardLogEnabledModel
 
Fields inherited from class org.keel.services.model.StandardLogEnabledModel
log
 
Fields inherited from class org.keel.services.model.StandardModel
configuration
 
Fields inherited from interface org.keel.services.model.Model
ROLE
 
Constructor Summary
DisplayConfig()
           
 
Method Summary
private  void addChildren(ModelResponse res, Output parent, Configuration conf)
           
 void contextualize(Context context)
          Pass the Context to the component.
 ModelResponse execute(ModelRequest req)
           
 
Methods inherited from class org.keel.services.model.SecurableStandardLogEnabledModel
getAuthorizationManager, setAuthorizationManager
 
Methods inherited from class org.keel.services.model.StandardLogEnabledModel
enableLogging
 
Methods inherited from class org.keel.services.model.StandardModel
configure, getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

private Context context
Constructor Detail

DisplayConfig

public DisplayConfig()
Method Detail

execute

public ModelResponse execute(ModelRequest req)
                      throws ModelException
Specified by:
execute in interface Model
Throws:
ModelException

addChildren

private void addChildren(ModelResponse res,
                         Output parent,
                         Configuration conf)
                  throws ModelException,
                         ConfigurationException
Throws:
ModelException
ConfigurationException

contextualize

public void contextualize(Context context)
                   throws ContextException
Description copied from interface: Contextualizable
Pass the Context to the component. This method is called after the Loggable.setLogger() (if present) method and before any other method.

Specified by:
contextualize in interface Contextualizable
Parameters:
context - the context. Must not be null.
Throws:
ContextException - if context is invalid
See Also:
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.