Keel 2.1RC2

org.keel.apps.security.models
Class ListComponents

java.lang.Object
  extended byorg.keel.services.model.StandardModel
      extended byorg.keel.services.model.StandardLogEnabledModel
          extended byorg.keel.services.model.SecurableStandardLogEnabledModel
              extended byorg.keel.apps.security.models.ListComponents
All Implemented Interfaces:
Configurable, Contextualizable, LogEnabled, Model, Securable

public class ListComponents
extends SecurableStandardLogEnabledModel
implements Contextualizable

Author:
sdutt List all available components that can be secured. Used as a "popup" when setting component security

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
ListComponents()
           
 
Method Summary
 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

ListComponents

public ListComponents()
Method Detail

execute

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

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.