Book Image

Oracle ADF Enterprise Application Development Made Simple: Second Edition

By : Sten E Vesterli
Book Image

Oracle ADF Enterprise Application Development Made Simple: Second Edition

By: Sten E Vesterli

Overview of this book

Table of Contents (20 chapters)
Oracle ADF Enterprise Application Development – Made Simple Second Edition
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Making an application customizable


To make an application customizable, you need to do the following three things:

  1. Develop a customization class for each layer of customization

  2. Enable seeded customization in the application

  3. Link the customization class to the application

The customization developer, who will be developing the customizations, will additionally have to set up JDeveloper correctly so that all the customization levels can be accessed. This setup is described later in the chapter.

Developing customization classes

For each layer of customization, you need to develop a customization class in a specific format—technically, it has to extend the Oracle-supplied abstract class, oracle.mds.cust.CustomizationClass.

A customization class has a name (returned by the getName method) and a getValue method that returns one or more values. At runtime, the ADF framework will execute the customization classes for all the layers to determine the customization value or values at each level. Additionally...