|
Arquillian Warp Extension: Implementation 1.0.0.Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.warp.spi.LifecycleManagerStore
org.jboss.arquillian.warp.server.lifecycle.LifecycleManagerStoreImpl
public class LifecycleManagerStoreImpl
Stores the bindings from auxiliary class instance to LifecycleManagerImpl.
| Constructor Summary | |
|---|---|
LifecycleManagerStoreImpl()
|
|
| Method Summary | ||
|---|---|---|
|
bind(Class<T> clazz,
T object)
Binds the current LifecycleManagerImpl with given object of given class. |
|
static
|
get(Class<T> clazz,
T boundObject)
Retrieves instance of LifecycleManagerImpl for given instance of given class. |
|
|
unbind(Class<T> clazz,
T object)
Unbinds the LifecycleManagerImpl for given class and given object. |
|
|
verifyManagerUnbound()
Verifies that there is no object bound with current LifecycleManagerImpl. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifecycleManagerStoreImpl()
| Method Detail |
|---|
public static <T> LifecycleManagerImpl get(Class<T> clazz,
T boundObject)
throws ObjectNotAssociatedException
LifecycleManagerImpl for given instance of given class.
clazz - the class used as denominator during retrievalboundObject - the object used as key for retriving LifecycleManagerImpl
LifecycleManagerImpl
ObjectNotAssociatedException - when instance of no such class and class' instance was associated with any
LifecycleManagerImpl
public <T> void bind(Class<T> clazz,
T object)
throws ObjectAlreadyAssociatedException
LifecycleManagerImpl with given object of given class.
bind in class LifecycleManagerStoreclazz - the class to be boundobject - the object to be bound
ObjectAlreadyAssociatedException - when there is already object bound with LifecycleManagerImpl for given
class.
public <T> void unbind(Class<T> clazz,
T object)
throws ObjectNotAssociatedException
LifecycleManagerImpl for given class and given object.
unbind in class LifecycleManagerStoreclazz - the bound classobject - the bound class
ObjectNotAssociatedException - when no object bound with LifecycleManagerImpl.
public <T> void verifyManagerUnbound()
throws StoreHasAssociatedObjectsException
LifecycleManagerImpl.
StoreHasAssociatedObjectsException - when there is object bound with current LifecycleManagerImpl.
|
Arquillian Warp Extension: Implementation 1.0.0.Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||