com.bea.p13n.entitlements.service
Class P13nContextHandler
java.lang.Object
com.bea.p13n.entitlements.service.P13nContextHandler
- All Implemented Interfaces
- ServerLocal, Serializable, ContextHandler
public class P13nContextHandler
- extends Object
- implements ContextHandler, Serializable, ServerLocal
This class provides a wrapper for passing optional arguments
to the runtime Authorization.isAccessAllowed()
method. An instance of this class is created using the
EntitlementHelper.createP13nContextHandler()
method. Within WLP, this class passes expression predicate
attributes used during evaluation of entitlements.
- See Also
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static final P13nContextHandler EMPTY
P13nContextHandler
public P13nContextHandler(String[] names,
Object[] values)
size
public int size()
- Specified by:
size
in interface ContextHandler
getNames
public String[] getNames()
- Specified by:
getNames
in interface ContextHandler
getValue
public Object getValue(String name)
- Specified by:
getValue
in interface ContextHandler
getValues
public ContextElement[] getValues(String[] requested)
- Specified by:
getValues
in interface ContextHandler
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.