Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`AlwaysDisabled()`

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`

Constructor Detail

### AlwaysDisabled

    public AlwaysDisabled()

Method Detail

### 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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.