Class ObjectIdentityRetrievalStrategyImpl
- java.lang.Object
-
- org.springframework.security.acls.domain.ObjectIdentityRetrievalStrategyImpl
-
- All Implemented Interfaces:
ObjectIdentityGenerator
,ObjectIdentityRetrievalStrategy
public class ObjectIdentityRetrievalStrategyImpl extends java.lang.Object implements ObjectIdentityRetrievalStrategy, ObjectIdentityGenerator
Basic implementation ofObjectIdentityRetrievalStrategy
and ObjectIdentityGenerator that uses the constructors ofObjectIdentityImpl
to create theObjectIdentity
.
-
-
Constructor Summary
Constructors Constructor Description ObjectIdentityRetrievalStrategyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectIdentity
createObjectIdentity(java.io.Serializable id, java.lang.String type)
ObjectIdentity
getObjectIdentity(java.lang.Object domainObject)
-
-
-
Method Detail
-
getObjectIdentity
public ObjectIdentity getObjectIdentity(java.lang.Object domainObject)
- Specified by:
getObjectIdentity
in interfaceObjectIdentityRetrievalStrategy
-
createObjectIdentity
public ObjectIdentity createObjectIdentity(java.io.Serializable id, java.lang.String type)
- Specified by:
createObjectIdentity
in interfaceObjectIdentityGenerator
- 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.
-
-