org.granite.client.tide.impl
Class SimpleInstanceStore
java.lang.Object
org.granite.client.tide.impl.SimpleInstanceStore
- All Implemented Interfaces:
- InstanceStore
public class SimpleInstanceStore
- extends Object
- implements InstanceStore
- Author:
- William DRAI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleInstanceStore
public SimpleInstanceStore(Context context)
getNoProxy
public <T> T getNoProxy(String name)
- Specified by:
getNoProxy in interface InstanceStore
set
public void set(String name,
Object instance)
- Specified by:
set in interface InstanceStore
set
public void set(Object instance)
- Specified by:
set in interface InstanceStore
remove
public void remove(String name)
- Specified by:
remove in interface InstanceStore
clear
public void clear()
- Specified by:
clear in interface InstanceStore
allNames
public List<String> allNames()
- Specified by:
allNames in interface InstanceStore
byName
public <T> T byName(String name,
Context context)
- Specified by:
byName in interface InstanceStore
createInstance
protected Object createInstance()
byType
public <T> T byType(Class<T> type,
Context context)
- Specified by:
byType in interface InstanceStore
allByType
public <T> T[] allByType(Class<T> type,
Context context,
boolean create)
- Specified by:
allByType in interface InstanceStore
allByAnnotatedWith
public Map<String,Object> allByAnnotatedWith(Class<? extends Annotation> annotationClass,
Context context)
- Specified by:
allByAnnotatedWith in interface InstanceStore