uk.ac.soton.itinnovation.grid.service.registry.util.key
Class ReferenceKeyGeneratorStrategy

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.registry.util.key.KeyGeneratorStrategy
      extended by uk.ac.soton.itinnovation.grid.service.registry.util.key.ReferenceKeyGeneratorStrategy

public class ReferenceKeyGeneratorStrategy
extends KeyGeneratorStrategy


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.service.registry.util.key.KeyGeneratorStrategy
logger
 
Constructor Summary
ReferenceKeyGeneratorStrategy()
           
 
Method Summary
protected  String createKey(Object obj)
          Create a database key of an EPR based on the URL reference of the EPR.
 
Methods inherited from class uk.ac.soton.itinnovation.grid.service.registry.util.key.KeyGeneratorStrategy
createKey, createKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceKeyGeneratorStrategy

public ReferenceKeyGeneratorStrategy()
Method Detail

createKey

protected String createKey(Object obj)
                    throws KeyGenerationException
Create a database key of an EPR based on the URL reference of the EPR.

Specified by:
createKey in class KeyGeneratorStrategy
Parameters:
resource -
Returns:
the generated key
Throws:
KeyGenerationException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.