org.databene.benerator.engine
Class AbstractScopedLifeCycleHolder
java.lang.Object
org.databene.benerator.engine.AbstractScopedLifeCycleHolder
- All Implemented Interfaces:
- java.io.Closeable, LifeCycleHolder, ScopedLifeCycleHolder, org.databene.commons.Resettable
- Direct Known Subclasses:
- AbstractGeneratorComponent, ComponentBuilderProxy, MultiComponentBuilder
public abstract class AbstractScopedLifeCycleHolder
- extends java.lang.Object
- implements ScopedLifeCycleHolder
Parent class for all generation components that can connect to the life cycle of a different component
(thus defining a 'scope').
Created: 03.04.2012 19:28:48
- Since:
- 0.7.6
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.databene.commons.Resettable |
reset |
Methods inherited from interface java.io.Closeable |
close |
AbstractScopedLifeCycleHolder
public AbstractScopedLifeCycleHolder(java.lang.String scope)
getScope
public java.lang.String getScope()
- Specified by:
getScope
in interface ScopedLifeCycleHolder
setScope
public void setScope(java.lang.String scope)
- Specified by:
setScope
in interface ScopedLifeCycleHolder
isResetNeeded
public boolean isResetNeeded()
- Specified by:
isResetNeeded
in interface ScopedLifeCycleHolder
setResetNeeded
public void setResetNeeded(boolean resetNeeded)
- Specified by:
setResetNeeded
in interface ScopedLifeCycleHolder
resetIfNeeded
public void resetIfNeeded()
- Specified by:
resetIfNeeded
in interface ScopedLifeCycleHolder
Copyright © 2013. All Rights Reserved.