public class ProcessNetwork extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| Constructor and Description |
|---|
ProcessNetwork() |
ProcessNetwork(List<Process> processes) |
ProcessNetwork(Process... processes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProcess(Process process) |
String |
getName() |
ProcessNetwork |
getParent() |
Collection<Process> |
getProcesses() |
ThreadGroup |
getThreadGroup() |
void |
init() |
boolean |
isAutoStart() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setAutoStart(boolean autoStart) |
void |
setName(String name) |
void |
setParent(ProcessNetwork parent) |
void |
setProcesses(Collection<Process> processes) |
void |
start() |
void |
startAndWait() |
static void |
startAndWait(Process... processes) |
void |
stop() |
String |
toString() |
void |
waitTillFinished() |
public ProcessNetwork()
public ProcessNetwork(Process... processes)
public static void startAndWait(Process... processes)
public void addProcess(Process process)
public String getName()
public ProcessNetwork getParent()
public Collection<Process> getProcesses()
public ThreadGroup getThreadGroup()
@PostConstruct public void init()
public boolean isAutoStart()
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic void setAutoStart(boolean autoStart)
public void setName(String name)
public void setParent(ProcessNetwork parent)
public void setProcesses(Collection<Process> processes)
public void start()
public void startAndWait()
@PreDestroy public void stop()
public void waitTillFinished()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.