| org.acegisecurity.vote.LabelParameterStrategy
All known Subclasses: org.acegisecurity.vote.InterfaceBasedLabelParameterStrategy,
LabelParameterStrategy | public interface LabelParameterStrategy (Code) | | This is a strategy interface for determining which parts of a method invocation
are labeled. Not all arguments are necessarily labeled. This offers a plugabble
mechanism to define various ways to label data.
author: Greg Turnquist version: $Id: LabelParameterStrategy.java 1784 2007-02-24 21:00:24Z luke_t $ |
getLabel | String getLabel(Method method, Object arg)(Code) | | Get the actual label associated with the argument. NOTE: This currently only supports one label per
argument.
Parameters: method - Parameters: arg - string value of the label |
isLabeled | boolean isLabeled(Method method, Object arg)(Code) | | Evaluate if one particular argument is labeled. The context of the method is also provided should that
have bearing on the label.
Parameters: method - Parameters: arg - boolean |
|
|