Public Member Functions | |
| CastorMarshalMapper (Object delegate, Logger logger) | |
| boolean | canTranslate (Class<?> oldObjClass, Class<?> newObjClass, ComponentInvocationHandler invHandler) |
| Object | translate (Object oldObject, Object newObjectTemplate, Class newObjectClass, ComponentInvocationHandler invHandler) throws DynWrapperException |
A type mapper that can marshal a Castor generated entity object to the IDL struct used for CORBA transport (XmlEntityStruct).
| alma.acs.component.dynwrapper.CastorMarshalMapper.CastorMarshalMapper | ( | Object | delegate, | |
| Logger | logger | |||
| ) |
References alma.acs.component.dynwrapper.TypeMapper.m_verbose, and alma.acs.entityutil.EntityTFinder.setVerbose().
| boolean alma.acs.component.dynwrapper.CastorMarshalMapper.canTranslate | ( | Class<?> | oldObjClass, | |
| Class<?> | newObjClass, | |||
| ComponentInvocationHandler | invHandler | |||
| ) | [virtual] |
True if oldObjClass is a Castor generated entity class that has a child of type EntityT, and if newObjClass is the XmlEntityStruct class.
Implements alma.acs.component.dynwrapper.TypeMapper.
References alma.acs.entityutil.EntityTFinder.getEntityTMethod(), alma.acs.component.dynwrapper.TypeMapper.m_logger, and alma.acs.component.dynwrapper.TypeMapper.m_verbose.
| Object alma.acs.component.dynwrapper.CastorMarshalMapper.translate | ( | Object | oldObject, | |
| Object | newObjectTemplate, | |||
| Class | newObjectClass, | |||
| ComponentInvocationHandler | invHandler | |||
| ) | throws DynWrapperException |
Converts a Castor generated entity object to the marshalled representation as an XmlEntityStruct.
References alma.acs.entityutil.EntityTFinder.extractEntityT(), alma.acs.component.dynwrapper.TypeMapper.m_logger, alma.acs.component.dynwrapper.TypeMapper.m_verbose, org.exolab.castor.xml.Marshaller.marshal(), and org.exolab.castor.xml.Marshaller.setValidation().
1.7.0