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