org.springframework.security.acls.domain
Class ObjectIdentityRetrievalStrategyImpl

java.lang.Object
  extended by 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.

Version:
$Id: ObjectIdentityRetrievalStrategyImpl.java 3651 2009-05-11 05:20:09Z ltaylor $
Author:
Ben Alex

Constructor Summary
ObjectIdentityRetrievalStrategyImpl()
           
 
Method Summary
 ObjectIdentity createObjectIdentity(Serializable id, String type)
           
 ObjectIdentity getObjectIdentity(Object domainObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectIdentityRetrievalStrategyImpl

public ObjectIdentityRetrievalStrategyImpl()
Method Detail

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 null
type - the type of the object (usually a class name), not null
Returns:


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.