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
Exceptionpublic void afterUnmarshal(Object bean, Unmarshaller unmarshaller, Object parent) throws Exception
Exceptionpublic void beforeMarshal(Object bean, Marshaller marshaller) throws Exception
Exceptionpublic void afterMarshal(Object bean, Marshaller marshaller) throws Exception
Exceptionpublic Method getBeforeUnmarshal()
public Method getAfterUnmarshal()
public Method getBeforeMarshal()
public Method getAfterMarshal()
Copyright © 2007–2021. All rights reserved.