com.sun.xml.bind.v2.runtime
Class LifecycleMethods

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.LifecycleMethods

public final class LifecycleMethods
extends java.lang.Object

This class is a simple container for caching lifecycle methods that are discovered during construction of (@link JAXBContext}.

See Also:
JaxBeanInfo.lcm, Loader.fireBeforeUnmarshal(JaxBeanInfo, Object, UnmarshallingContext.State), Loader.fireAfterUnmarshal(JaxBeanInfo, Object, UnmarshallingContext.State), XMLSerializer.fireMarshalEvent(Object, Method)

Constructor Summary
LifecycleMethods()
           
 
Method Summary
 java.lang.reflect.Method getAfterMarshal()
           
 java.lang.reflect.Method getAfterUnmarshal()
           
 java.lang.reflect.Method getBeforeMarshal()
           
 java.lang.reflect.Method getBeforeUnmarshal()
           
 void setAfterMarshal(java.lang.reflect.Method afterMarshal)
           
 void setAfterUnmarshal(java.lang.reflect.Method afterUnmarshal)
           
 void setBeforeMarshal(java.lang.reflect.Method beforeMarshal)
           
 void setBeforeUnmarshal(java.lang.reflect.Method beforeUnmarshal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleMethods

public LifecycleMethods()
Method Detail

getAfterMarshal

public java.lang.reflect.Method getAfterMarshal()

setAfterMarshal

public void setAfterMarshal(java.lang.reflect.Method afterMarshal)

getAfterUnmarshal

public java.lang.reflect.Method getAfterUnmarshal()

setAfterUnmarshal

public void setAfterUnmarshal(java.lang.reflect.Method afterUnmarshal)

getBeforeMarshal

public java.lang.reflect.Method getBeforeMarshal()

setBeforeMarshal

public void setBeforeMarshal(java.lang.reflect.Method beforeMarshal)

getBeforeUnmarshal

public java.lang.reflect.Method getBeforeUnmarshal()

setBeforeUnmarshal

public void setBeforeUnmarshal(java.lang.reflect.Method beforeUnmarshal)