An example configuring a new custom property for a J2C resource adapters follows:
Using Jacl:
set newra [$AdminConfig getid /Cell:mycell/Node:mynode/J2CResourceAdapter:RAR1/]
An example of this output follows:
RAR1(cells/mycell/nodes/mynode:resources.xml#J2CResourceAdapter_1)
Using Jacl:
set propSet [$AdminConfig showAttribute $newra propertySet]
An example of this output follows:
(cells/mycell/nodes/mynode:resources.xml#PropertySet_8)
Using Jacl:
$AdminConfig required J2EEResourceProperty
An example of this output follows:
Attribute Type name String
Using Jacl:
set name [list name RP4] set rpAttrs [list $name]
Using Jacl:
$AdminConfig create J2EEResourceProperty $propSet $rpAttrs
An example of this output follows:
RP4(cells/mycell/nodes/mynode:resources.xml#J2EEResourceProperty_8)
Using Jacl:
$AdminConfig save