Cumulus4j API
(1.1.0)

org.cumulus4j.store.reflectionwrapper.gae
Class KeyFactory

java.lang.Object
  extended by org.cumulus4j.store.reflectionwrapper.ReflectionWrapper
      extended by org.cumulus4j.store.reflectionwrapper.gae.KeyFactory

public class KeyFactory
extends ReflectionWrapper


Constructor Summary
protected KeyFactory(ClassLoader classLoader)
           
 
Method Summary
 Key createKey(String kind, long id)
           
 String createKeyString(String kind, long id)
           
protected  Object createWrappedObject(Class<?> wrappedClass)
           
static KeyFactory getInstance()
           
protected  String getWrappedClassName()
           
 Key stringToKey(String encoded)
           
 
Methods inherited from class org.cumulus4j.store.reflectionwrapper.ReflectionWrapper
getClassLoader, getWrappedClass, getWrappedObject, invoke, invoke, invoke, invoke, invoke, invokeStatic, invokeStatic, invokeStatic, invokeStatic, invokeStatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyFactory

protected KeyFactory(ClassLoader classLoader)
Method Detail

getInstance

public static KeyFactory getInstance()

getWrappedClassName

protected String getWrappedClassName()
Overrides:
getWrappedClassName in class ReflectionWrapper

createWrappedObject

protected Object createWrappedObject(Class<?> wrappedClass)
Overrides:
createWrappedObject in class ReflectionWrapper

stringToKey

public Key stringToKey(String encoded)

createKey

public Key createKey(String kind,
                     long id)

createKeyString

public String createKeyString(String kind,
                              long id)

Cumulus4j API
(1.1.0)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.