org.springframework.beans.factory.annotation
Class InitDestroyAnnotationBeanPostProcessor.LifecycleElement
java.lang.Object
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.LifecycleElement
- Enclosing class:
- InitDestroyAnnotationBeanPostProcessor
private static class InitDestroyAnnotationBeanPostProcessor.LifecycleElement
- extends java.lang.Object
Class representing injection information about an annotated method.
Field Summary |
private java.lang.String |
identifier
|
private java.lang.reflect.Method |
method
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
method
private final java.lang.reflect.Method method
identifier
private final java.lang.String identifier
InitDestroyAnnotationBeanPostProcessor.LifecycleElement
public InitDestroyAnnotationBeanPostProcessor.LifecycleElement(java.lang.reflect.Method method)
getMethod
public java.lang.reflect.Method getMethod()
getIdentifier
public java.lang.String getIdentifier()
invoke
public void invoke(java.lang.Object target)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object