Uses of Interface
org.clazzes.util.lifecycle.ObjectCreatable

Packages that use ObjectCreatable
org.clazzes.util.lifecycle   
org.clazzes.util.lifecycle.impl   
 

Uses of ObjectCreatable in org.clazzes.util.lifecycle
 

Subinterfaces of ObjectCreatable in org.clazzes.util.lifecycle
 interface Cacheable<T>
          Interface to manage the life cycle of objects in combination with a Cache.
 interface Recyclable<T>
          Interface to manage the life cycle of objects in combination with a Recycler.
 

Methods in org.clazzes.util.lifecycle that return ObjectCreatable
 ObjectCreatable<T> ObjectFactory.get(T key)
          Deliver an object for the passed key.
 

Methods in org.clazzes.util.lifecycle with parameters of type ObjectCreatable
 void Recycler.pushBack(T key, ObjectCreatable<T> object)
          Objects implementing the Recyclable interface must call this method in their Recyclable.recycle() method with themselves and their key as arguments, to return themselves to the Recycler.
 

Uses of ObjectCreatable in org.clazzes.util.lifecycle.impl
 

Classes in org.clazzes.util.lifecycle.impl that implement ObjectCreatable
 class RecyclableImpl<T>
          A basic example implementation of Recyclable.
 class RecyclableObjectWrapper<T>
           
 

Methods in org.clazzes.util.lifecycle.impl that return ObjectCreatable
protected  ObjectCreatable<java.lang.String> ReflectionRecycler.createNew(java.lang.String key)
           
protected abstract  ObjectCreatable<T> AbstractObjectFactoryImpl.createNew(T key)
           
 ObjectCreatable<T> AbstractRecyclerImpl.get(T key)
           
 ObjectCreatable<T> AbstractObjectFactoryImpl.get(T key)
           
protected  ObjectCreatable<T> AbstractRecyclerImpl.internalCreateNew(T key)
           
protected  ObjectCreatable<T> AbstractObjectFactoryImpl.internalCreateNew(T key)
          Concrete implementations should use this method instead of AbstractObjectFactoryImpl.createNew(Object) to retrieve new objects.
 

Methods in org.clazzes.util.lifecycle.impl with parameters of type ObjectCreatable
protected  boolean AbstractRecyclerImpl.isCachable(T key, ObjectCreatable<T> obj)
          Checks if the passed object and key are valid, and the object can be recycled.
 void AbstractRecyclerImpl.pushBack(T key, ObjectCreatable<T> obj)
           
 

Method parameters in org.clazzes.util.lifecycle.impl with type arguments of type ObjectCreatable
 void ReflectionRecycler.registerClass(java.lang.String key, java.lang.Class<? extends ObjectCreatable<java.lang.String>> clazz)
          Registers a class for a key.
 



Copyright © 2010. All Rights Reserved.