com.bea.wlp.rest.command
Class AlwaysEnabled
java.lang.Object
com.bea.wlp.rest.command.AlwaysEnabled
- All Implemented Interfaces
- MethodPermission
public class AlwaysEnabled
- extends Object
- implements MethodPermission
MethodPermission
implementation that always returns true, for configuring
RestCommands
that are always unconditionally enabled.
Method Summary |
boolean |
isEnabled(RestContext restContext)
Always returns true to enable a RestCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysEnabled
public AlwaysEnabled()
isEnabled
public boolean isEnabled(RestContext restContext)
- Always returns true to enable a
RestCommand
- Specified by:
isEnabled
in interface MethodPermission
- Parameters
restContext
- the incoming RestContext
- Returns
- true
Copyright © 2000, 2009, 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.