Property aliasing allows you to create virtual components with properties that assemble values from a variety of sources. Use virtual components to gather data from a variety of sources and return it in a single Legacy REST Web Services request.

To create a virtual component with property aliasing:

The following example configuration creates a virtual component. It specifies the name of a component that does not exist in the name attribute of the component tag, thus creating a virtual component. When creating virtual components in this way, do not use the item-descriptor element.

When a REST client requests this component, the list of properties that are specified inside the component element will be rendered.

<rest-filtering>
  <component name="/some/nonexisting/Component">
    <property name="property1"
              component="/some/other/Component"
              target="aProperty"/>
    <property name="property2"
              property-customizer="some.class.Here"/>
  </component>
<rest-filtering>

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices