Java API ReferenceClass Hierarchy | All Classes | All Fields and Methods

com.ibm.xtools.patterns.framework

Class PatternParameterBehavior

+-- Object
      +-- PatternParameterBehavior

final public Class PatternParameterBehavior
extends Object

Customizes the pattern behavior.

A behavior of a pattern is customized in two ways:
  • One customization method uses the framework hot-spots. The framework hot-spot methods can be overridden to aggregate or redefine existing isolated behavior.
  • Another way to customize behavior of a pattern is to add behavior extensions.

There is a pool of reusable behavior extensions that can be used by the various pattern abstractions such as the instance, definition, parameter, dependency, etc. New behavior extensions can also be added to well-defined point-in-time (event triggered) hot-spots and associated with the needed pattern abstraction entity.

For example, there is a behavior extension defined for parameters that allow for a creatable parameter (one that returns true to the isCreatable )to automatically create upon instantiation of the pattern. If a pattern has a parameter and its value must be created automatically upon the instantiation of a new pattern instance, the mentioned behavior extension must be applied to that parameter. If any value is already bound to a parameter then the create is not to be called (the same effect as if the create method returned false ).


Fields
final static public java.lang.StringCREATE_ON_INSTANTIATION

Creates on instantiation automatically and calls the create methods on creatable parameter after the pattern instance has been created.


Feedback