public abstract class AbstractShareScenario extends Object implements ShareScenario, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
AbstractShareScenario(ShareScenarioRegistry registry,
double weight) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
setBeanName(String name)
Used by framework.
|
void |
setScenarioName(String scenarioName)
Explicitly set the scenario name (if the bean name won't do).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextEvents
public AbstractShareScenario(ShareScenarioRegistry registry, double weight)
registry
- registry with which this instance will be registeredweight
- the weight relative to other scenarios registered in the registrypublic void setBeanName(String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
setScenarioName(String)
public void setScenarioName(String scenarioName)
Copyright © 2014. All rights reserved.