public class ClassInstanceLifeCycle<T> extends Object
| Constructor and Description |
|---|
ClassInstanceLifeCycle(org.gatein.common.logging.Logger log,
Class<T> expectedClass,
ClassLoader classLoader,
String className,
String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
void |
destroy() |
T |
getInstance() |
protected void |
start(T instance) |
protected void |
stop(T instance) |
public ClassInstanceLifeCycle(org.gatein.common.logging.Logger log,
Class<T> expectedClass,
ClassLoader classLoader,
String className,
String type)
public void create()
throws PortletInitializationException
PortletInitializationExceptionpublic void destroy()
public T getInstance()
protected void stop(T instance)
Copyright © 2003-2018 GateIn. All Rights Reserved.