org.springframework.beans.factory.annotation
Class InitDestroyAnnotationBeanPostProcessor.LifecycleElement

java.lang.Object
  extended by 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
           
 
Constructor Summary
InitDestroyAnnotationBeanPostProcessor.LifecycleElement(java.lang.reflect.Method method)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getIdentifier()
           
 java.lang.reflect.Method getMethod()
           
 int hashCode()
           
 void invoke(java.lang.Object target)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

private final java.lang.reflect.Method method

identifier

private final java.lang.String identifier
Constructor Detail

InitDestroyAnnotationBeanPostProcessor.LifecycleElement

public InitDestroyAnnotationBeanPostProcessor.LifecycleElement(java.lang.reflect.Method method)
Method Detail

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