|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.intercept.method.AbstractMethodDefinitionSource
public abstract class AbstractMethodDefinitionSource
Abstract implementation of MethodDefinitionSource.
| Constructor Summary | |
|---|---|
AbstractMethodDefinitionSource()
|
|
| Method Summary | |
|---|---|
ConfigAttributeDefinition |
getAttributes(Object object)
Accesses the ConfigAttributeDefinition that applies to a
given secure object. |
protected abstract ConfigAttributeDefinition |
lookupAttributes(Method method)
Performs the actual lookup of the relevant ConfigAttributeDefinition for the specified
Method which is subject of the method invocation. |
boolean |
supports(Class clazz)
Indicates whether the ObjectDefinitionSource implementation
is able to provide ConfigAttributeDefinitions for the
indicated secure object type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.acegisecurity.intercept.ObjectDefinitionSource |
|---|
getConfigAttributeDefinitions |
| Constructor Detail |
|---|
public AbstractMethodDefinitionSource()
| Method Detail |
|---|
public ConfigAttributeDefinition getAttributes(Object object)
throws IllegalArgumentException
ObjectDefinitionSourceConfigAttributeDefinition that applies to a
given secure object.
Returns null if no ConfigAttribiteDefinition
applies.
getAttributes in interface ObjectDefinitionSourceobject - the object being secured
ConfigAttributeDefinition that applies to the
passed object
IllegalArgumentException - if the passed object is not of a type
supported by the ObjectDefinitionSource
implementationpublic boolean supports(Class clazz)
ObjectDefinitionSourceObjectDefinitionSource implementation
is able to provide ConfigAttributeDefinitions for the
indicated secure object type.
supports in interface ObjectDefinitionSourceclazz - the class that is being queried
protected abstract ConfigAttributeDefinition lookupAttributes(Method method)
ConfigAttributeDefinition for the specified
Method which is subject of the method invocation.
Provided so subclasses need only to provide one basic method to properly
interface with the MethodDefinitionSource.
Returns null if there are no matching attributes for the
method.
method - the method being invoked for which configuration
attributes should be looked up
ConfigAttributeDefinition that applies to the
specified Method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||