Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<aspect> 
Anchor
aspect
aspect

<aspect name="" class="">

This element defines the aspect and the Governance Registry has defined lifeCycles as aspects too. It has two attributes.

Default Value
AttributesDescriptionXML Syntax 
Description 
Type 
Default Value 
Fixed Values 
Mandatory/Optional 
Samples 
Attributes of the Element
AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/OptionalNotes
nameContains the name of the lifeCycle. Governance Registry does not allow you to create two lifeCycles with the same name. N/A   
classDefines the class that is associated with the lifeCycle. 

org.wso2.carbon.governance.

registry.extensions.aspects.

DefaultLifeCycle

  A user has the ability to define his/her own class as shown here , but the default class provided with the Governance Registry distribution has the capability to handle any configuration that follows the above template.
Sample

...

Implementations
Code Block
languagehtml/xml
<aspect name="Test" class="org.wso2.carbon.governance.registry.extensions.aspects.DefaultLifeCycle">

...

<configuration> 
Anchor
configuration
configuration

<configuration type="">

...

XML Syntax 
Description 
Type 
Default Value 
Fixed Values 
Mandatory/Optional 
Attributes of the Element
AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/OptionalNotes
typeliteral  resource 

literal

:

- If the configuration is setup through the management console

resource

: If

- If the configuration is setup through registry.xml

  
Sample

...

Implementations
Code Block
languagehtml/xml
<configuration type="resource">

...