On 11/12/16, 2:03 PM, "Greg Dove" <[email protected]> wrote:

>Hi Prashant,
>
>The methods added to the reflection package were to support storing
>aliases
>(for class mappings) and also retrieving the class based on the stored
>alias.
>
>In the patient case the local alias would also be "org.blazeds.vo.Patient"
>
>I am not familiar with the approach you are using for deserializing the
>amf
>in js, but I expect the general approach should be something like this:
>
>a) identify the alias from the inbound amf data (seems like the
>_explicitType field in your data)
>b) retrieve the local class that corresponds to that alias and instantiate
>an instance using getClassByAlias method from the _explicitType value:
>var
>classToInstantiate:Class = getClassByAlias("org.blazeds.vo.Patient");
>This class should have been already registered using registerClassAlias at
>some earlier point in time.

I think the cross-compiler isn't generating the registerClassAlias.  File
a bug and we'll get to it.

-Alex

Reply via email to