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 © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.