Module org.eclipse.persistence.moxy
Class UnmarshalCallback
java.lang.Object
org.eclipse.persistence.jaxb.compiler.UnmarshalCallback
INTERNAL:
Purpose:Hold information about class based JAXB 2.0 Callback methods
Responsibilities:
- Store information about domainClass and the callback methods
- Act as a means to integrate JAXB 2.0 Class based callbacks with TopLink OXM Listener based callbacks.
- Since:
- Oracle TopLink 11.1.1.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass
<?> void
initialize
(ClassLoader loader) Initialize information about class based JAXB 2.0 Callback methods.void
setAfterUnmarshalCallback
(Method method) Should not use this method - the init method will overwrite the set value.void
setBeforeUnmarshalCallback
(Method method) Should not use this method - the init method will overwrite the set value.void
setDomainClass
(Class<?> clazz) Should use setDomainClassName - the init method will overwrite the set value with Class.forName(domainClassName)void
setDomainClassName
(String className) void
void
-
Constructor Details
-
UnmarshalCallback
public UnmarshalCallback()
-
-
Method Details
-
getAfterUnmarshalCallback
-
getBeforeUnmarshalCallback
-
getDomainClass
-
initialize
Initialize information about class based JAXB 2.0 Callback methods.- Parameters:
loader
- source class loader fordomainClass
-
setAfterUnmarshalCallback
Should not use this method - the init method will overwrite the set value. -
setHasAfterUnmarshalCallback
public void setHasAfterUnmarshalCallback() -
setBeforeUnmarshalCallback
Should not use this method - the init method will overwrite the set value. -
setHasBeforeUnmarshalCallback
public void setHasBeforeUnmarshalCallback() -
setDomainClass
Should use setDomainClassName - the init method will overwrite the set value with Class.forName(domainClassName) -
setDomainClassName
-