First page Back Continue Last page Text

oracle adf workshop

Notes:


XML-Only Component on a Framework Extension Class

For example, assume that you create the YourService application module in the com.yourcompany.yourapp package, with a custom application module base class of CustomAppModuleImpl. If you opt to leave the component as an XML-only component with no custom Java file, its XML component definition (YourService.xml) will resemble what you see in the slide. The value of the ComponentClass attribute of the AppModule tag is read at run time to identify the Java class to use to represent the component.

Custom base class names are recorded in the XML component definition.

<AppModule

Name="YourService"

ComponentClass="com.yourcompany.fwkext.CustomAppModuleImpl" >

<!-- etc. -->

</AppModule>