public interface ObjectDefinitionSource
ConfigAttributeDefinition that applies to a given secure object
invocation.| Modifier and Type | Method and Description |
|---|---|
ConfigAttributeDefinition |
getAttributes(Object object)
Accesses the
ConfigAttributeDefinition that applies to a given secure object. |
Iterator |
getConfigAttributeDefinitions()
If available, all of the
ConfigAttributeDefinitions defined by the implementing class. |
boolean |
supports(Class clazz)
Indicates whether the
ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinitions for the indicated secure object type. |
ConfigAttributeDefinition getAttributes(Object object) throws IllegalArgumentException
ConfigAttributeDefinition that applies to a given secure object.Returns
null if no ConfigAttribiteDefinition applies.
object - the object being securedConfigAttributeDefinition that applies to the passed objectIllegalArgumentException - if the passed object is not of a type supported by the
ObjectDefinitionSource implementationIterator getConfigAttributeDefinitions()
ConfigAttributeDefinitions defined by the implementing class.This
is used by the AbstractSecurityInterceptor to perform startup time validation of each
ConfigAttribute configured against it.
ConfigAttributeDefinitions or null if unsupportedboolean supports(Class clazz)
ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinitions for the indicated secure object type.clazz - the class that is being queriedCopyright © 2021. All rights reserved.