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

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.registry.util.key.KeyGeneratorStrategy
Direct Known Subclasses:
ApplicationKeyGeneratorStrategy, ReferenceKeyGeneratorStrategy, ServiceKeyGeneratorStrategy, SlaKeyGeneratorStrategy, UsageKeyGeneratorStrategy

public abstract class KeyGeneratorStrategy
extends Object


Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
KeyGeneratorStrategy()
           
 
Method Summary
protected abstract  String createKey(Object resource)
           
 String createKey(RegistryDataResourceRoleBean user, Object resource)
           
 String createKey(String key, Object resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

KeyGeneratorStrategy

public KeyGeneratorStrategy()
Method Detail

createKey

public final String createKey(RegistryDataResourceRoleBean user,
                              Object resource)
                       throws KeyGenerationException
Throws:
KeyGenerationException

createKey

public final String createKey(String key,
                              Object resource)
                       throws KeyGenerationException
Throws:
KeyGenerationException

createKey

protected abstract String createKey(Object resource)
                             throws KeyGenerationException
Throws:
KeyGenerationException


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