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
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateObjectIdentity
(Serializable id, String type) getObjectIdentity
(Object domainObject)
-
Constructor Details
-
ObjectIdentityRetrievalStrategyImpl
public ObjectIdentityRetrievalStrategyImpl()
-
-
Method Details
-
getObjectIdentity
- Specified by:
getObjectIdentity
in interfaceObjectIdentityRetrievalStrategy
-
createObjectIdentity
- 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.
-