public class PrototypeBean extends Bean implements Runnable
Bean based on the
 prototype pattern| Constructor and Description | 
|---|
PrototypeBean(Object bean,
             ExecutorService executorService)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Object | 
duplicate(Object object)  | 
Object | 
getInstance()  | 
void | 
run()  | 
getClassKeypublic PrototypeBean(Object bean, ExecutorService executorService)
public Object getInstance()
getInstance in class Beanpublic static Object duplicate(Object object) throws IllegalAccessException, InstantiationException, InvocationTargetException, NoSuchMethodException
Copyright © 2014. All rights reserved.