public abstract class BaseLifecycleManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
instance |
| Constructor and Description |
|---|
BaseLifecycleManager() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.reflect.Method |
getPostConstructMethod() |
protected java.lang.reflect.Method |
getPreDestroyMethod() |
protected void |
invokeMethod(java.lang.reflect.Method m,
java.lang.Object[] params) |
void |
invokePostConstruct() |
protected void |
invokePostConstruct(java.lang.reflect.Method method) |
void |
invokePreDestroy() |
protected void |
invokePreDestroy(java.lang.reflect.Method method) |
protected boolean |
isPostConstruct(java.lang.reflect.Method method) |
protected boolean |
isPreDestroy(java.lang.reflect.Method method) |
public void invokePostConstruct()
throws LifecycleException
LifecycleExceptionprotected void invokePostConstruct(java.lang.reflect.Method method)
throws LifecycleException
LifecycleExceptionpublic void invokePreDestroy()
throws LifecycleException
LifecycleExceptionprotected void invokePreDestroy(java.lang.reflect.Method method)
throws LifecycleException
LifecycleExceptionprotected void invokeMethod(java.lang.reflect.Method m,
java.lang.Object[] params)
throws LifecycleException
LifecycleExceptionprotected java.lang.reflect.Method getPostConstructMethod()
protected java.lang.reflect.Method getPreDestroyMethod()
protected boolean isPostConstruct(java.lang.reflect.Method method)
protected boolean isPreDestroy(java.lang.reflect.Method method)
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.