...
<aspect>
Anchor | ||||
---|---|---|---|---|
|
<aspect name="" class="">
This element defines the aspect and the Governance Registry has defined lifeCycles as aspects too. It has two attributes.
Attributes | Description | Default ValueXML Syntax | |
---|---|---|---|
Description | |||
Type | |||
Default Value | |||
Fixed Values | |||
Mandatory/Optional | |||
Samples |
Attributes of the Element
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
name | Contains the name of the lifeCycle. Governance Registry does not allow you to create two lifeCycles with the same name. | N/A | ||||
class | Defines the class that is associated with the lifeCycle. |
| 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 | ||
---|---|---|
| ||
<aspect name="Test" class="org.wso2.carbon.governance.registry.extensions.aspects.DefaultLifeCycle"> |
...
<configuration>
Anchor | ||||
---|---|---|---|---|
|
<configuration type="">
...
XML Syntax | |
---|---|
Description | |
Type | |
Default Value | |
Fixed Values | |
Mandatory/Optional |
Attributes of the Element
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
type | literal | 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 | ||
---|---|---|
| ||
<configuration type="resource"> |
...