com.bea.wlp.rest.command
Class AlwaysDisabled
java.lang.Object
com.bea.wlp.rest.command.AlwaysDisabled
- All Implemented Interfaces
- MethodPermission
public class AlwaysDisabled
- extends Object
- implements MethodPermission
MethodPermission
implementation that always returns false, for configuring
RestCommands
that are always unconditionally disabled.
Method Summary |
boolean |
isEnabled(RestContext restContext)
Always returns false to disable a RestCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysDisabled
public AlwaysDisabled()
isEnabled
public boolean isEnabled(RestContext restContext)
- Always returns false to disable a
RestCommand
- Specified by:
isEnabled
in interface MethodPermission
- Parameters
restContext
- the incoming RestContext
- Returns
- false
Copyright © 2008 BEA Systems, Inc. All Rights Reserved