Documente Academic
Documente Profesional
Documente Cultură
Authors
- Abhijit Joshi
Internal
Easier to update code changes No need to bounce the middle-tier Easier to publish models
In short, Configurator Extensions are Java code that you write to perform functions that go beyond the functionality and Configurator Rules that Oracle Configurator Developer provides out of the box
Internal
Class, which is the compiled Java code that implements the desired behavior, is developed outside Configurator Developer and then inserted into the CZ schema in the form of a Configurator Extension Archive Instance, which is the event-driven execution of the Java binary class at runtime Rule, to associate the Configurator Extension Class with a Configurator Model. This includes bindings between method parameters in the Java class and elements of the Model.
Internal 3
Associate Model Node and Class from Archive Path Associate Event and Class method Bind Method Arguments to specific Model Parameters
5. 6. Test the functionality in Model Debugger and Runtime User Interface Publish the Configurator Model
Internal
Is an object in Repository Contains one or more compiled Java classes that might be used in Configurator Extension Rules Must be added to a Model s Archive Path in order to be used in a Configurator Extension Rule in that Model Can be attached in multiple Models Archive Paths Is available to parent Models that reference the Model Class Files in zip format are stored in a table CZ_ARCHIVES
Internal 5
Internal
A setting for a Model that lists the Configurator Extension Archives to be used for Configurator Extension Rules defined in that Model A list whose order determines the order in which the Archives are searched at runtime for the Java classes that implement Configurator Extensions Like a Java class path for the Configurator Extension Rules defined in a Model With Model References, the parent Model's Archive Path is available to every referenced child Model's Archive Path
Internal 7
Internal
Internal
A Base Node in the Model containing the rule A Java class in a Configurator Extension Archive An Instantiation Scope, for instantiable components One or more event bindings, which associate an event with a Java method with specified arguments
Internal
10
Internal
11
Internal
12
Event bindings in a Configurator Extension Rule bind a configuration event to a method in the CX class A CX Rule can contain multiple event bindings, for different events and different methods An event binding specifies the information to be sent from the Model to the CX, the Argument Bindings
At runtime, Oracle Configurator signals configuration events. When one occurs, this runs all methods bound to that event if the binding is in scope
Internal
13
Means of Activation
Configurator Extension initialized or terminated e.g.: postCXInit, preCXTerminate Component instance is created, added, deleted, made editable or non editable, or when the component instance name is changed e.g.: postInstanceAdd, postInstanceLoad Execution of a custom-defined command e.g.: onCommand Session initialization, termination, or summary e.g.: postConfigInit, preConfigSave Validation after CIO transactions or after the value of a node changes e.g.: postValueChange
Component Instance
Custom Command
Session
Value-Related
Internal
14
Global (Anywhere in the runtime tree of the current configuration instance) Base Node (Only on the node bound to the Configurator Extension Rule) Base Node and Subtree (On the node bound to the Configurator Extension Rule and all its descendants)
The scope on an event binding specifies if it should be interested in a specific event being signaled by the Configurator
Internal
15
System Parameter (e.g. Base Node of Rule, CX Event, Configuration) Event Parameter (e.g. changed node for postValueChange) Model Node or Property (e.g. Node in CZ Model or its property) Literal (e.g. Character string)
Internal
16
Querydata.java
Internal
17
Internal
18
Internal
19