org.jboss.arquillian.core.spi.context
Class AbstractContext<T>
java.lang.Object
org.jboss.arquillian.core.spi.context.AbstractContext<T>
- All Implemented Interfaces:
- Context, IdBoundContext<T>
- Direct Known Subclasses:
- ApplicationContextImpl, ClassContextImpl, ContainerContextImpl, DeploymentContextImpl, SuiteContextImpl, TestContextImpl
public abstract class AbstractContext<T>
- extends Object
- implements Context, IdBoundContext<T>
AbstractContext
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.arquillian.core.spi.context.Context |
getScope |
AbstractContext
public AbstractContext()
getActiveId
public T getActiveId()
- Specified by:
getActiveId
in interface IdBoundContext<T>
activate
public void activate(T id)
- Specified by:
activate
in interface IdBoundContext<T>
deactivate
public void deactivate()
- Specified by:
deactivate
in interface IdBoundContext<T>
deactivateAll
public void deactivateAll()
isActive
public boolean isActive()
- Specified by:
isActive
in interface Context
destroy
public void destroy(T id)
- Specified by:
destroy
in interface IdBoundContext<T>
getObjectStore
public ObjectStore getObjectStore()
- Specified by:
getObjectStore
in interface Context
clearAll
public void clearAll()
- Specified by:
clearAll
in interface Context
createNewObjectStore
protected abstract ObjectStore createNewObjectStore()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.