org.springframework.security.acls.domain
Class ObjectIdentityRetrievalStrategyImpl
java.lang.Object
org.springframework.security.acls.domain.ObjectIdentityRetrievalStrategyImpl
- All Implemented Interfaces:
- ObjectIdentityGenerator, ObjectIdentityRetrievalStrategy
public class ObjectIdentityRetrievalStrategyImpl
- extends Object
- implements ObjectIdentityRetrievalStrategy, ObjectIdentityGenerator
Basic implementation of ObjectIdentityRetrievalStrategy
and ObjectIdentityGenerator
that uses the constructors of ObjectIdentityImpl
to create the ObjectIdentity
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectIdentityRetrievalStrategyImpl
public ObjectIdentityRetrievalStrategyImpl()
getObjectIdentity
public ObjectIdentity getObjectIdentity(Object domainObject)
- Specified by:
getObjectIdentity
in interface ObjectIdentityRetrievalStrategy
createObjectIdentity
public ObjectIdentity createObjectIdentity(Serializable id,
String type)
- Specified by:
createObjectIdentity
in interface ObjectIdentityGenerator
- Parameters:
id
- the identifier of the domain object, not nulltype
- the type of the object (often a class name), not null
- Returns:
- the identity constructed using the supplied identifier and type information.