public class LifecycleCallback extends Object
Modifier and Type | Field and Description |
---|---|
Method |
afterMarshal |
Method |
afterUnmarshal |
Method |
beforeMarshal |
Method |
beforeUnmarshal |
static LifecycleCallback |
NONE |
Constructor and Description |
---|
LifecycleCallback(Class beanType) |
LifecycleCallback(Method beforeUnmarshal,
Method afterUnmarshal,
Method beforeMarshal,
Method afterMarshal) |
Modifier and Type | Method and Description |
---|---|
void |
afterMarshal(Object bean,
Marshaller marshaller) |
void |
afterUnmarshal(Object bean,
Unmarshaller unmarshaller,
Object parent) |
void |
beforeMarshal(Object bean,
Marshaller marshaller) |
void |
beforeUnmarshal(Object bean,
Unmarshaller unmarshaller,
Object parent) |
Method |
getAfterMarshal() |
Method |
getAfterUnmarshal() |
Method |
getBeforeMarshal() |
Method |
getBeforeUnmarshal() |
static boolean |
isPublic(Member member) |
public final Method beforeUnmarshal
public final Method afterUnmarshal
public final Method beforeMarshal
public final Method afterMarshal
public static final LifecycleCallback NONE
public LifecycleCallback(Method beforeUnmarshal, Method afterUnmarshal, Method beforeMarshal, Method afterMarshal)
public LifecycleCallback(Class beanType)
public static boolean isPublic(Member member)
public void beforeUnmarshal(Object bean, Unmarshaller unmarshaller, Object parent) throws Exception
Exception
public void afterUnmarshal(Object bean, Unmarshaller unmarshaller, Object parent) throws Exception
Exception
public void beforeMarshal(Object bean, Marshaller marshaller) throws Exception
Exception
public void afterMarshal(Object bean, Marshaller marshaller) throws Exception
Exception
public Method getBeforeUnmarshal()
public Method getAfterUnmarshal()
public Method getBeforeMarshal()
public Method getAfterMarshal()
Copyright © 2007–2018. All rights reserved.