JET Composite Components XI – Metadata Extensibility by Duncan Mills

Posted: July 18, 2017 in JDeveloper & ADF
Tags: , , , , , , , ,

image

Introduction

In previous articles in this series, I have discussed some of the ways in which you can extend or override the Composite Component Framework. These include the overriding of lifecycle method callback names (not recommended) and custom property parsing (very useful). Additionally, of course you have the lifecycle methods themselves as a place to carry out the internal operations of your Composite Components. This all adds up to a pretty rich working environment, but the addition of the custom metadata capability really completes this story. In this article, I’ll be looking at how to define and work with extended metadata.

Defining Custom Metadata in the Composite Component Architecture

We have already seen how the definition metadata can contain information above and beyond that which is strictly required for runtime use. The description property and method parameter properties are examples of this. The intention of course being that consumers of the Composite Component can receive a richer description of the component. However, even those "Design Time" attributes may not be enough and so the framework also supports an extension mechanism.

Additional metadata of your own can be introduced anywhere within the Composite Component metadata definition (e.g. its JSON file) using the property extension. The value of this property can be defined as a complex object in it’s own right allowing you to define an unlimited amount of ancillary information on top of the base API.

Here’s an example of metadata with some extensions added: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s