Skip navigation links


com.bea.wlp.rest.command
Class AlwaysEnabled

java.lang.Object
  extended by 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.


Constructor Summary
AlwaysEnabled()
           

 

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

 

Constructor Detail

AlwaysEnabled

public AlwaysEnabled()

Method Detail

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

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.