Configure custom properties for URL providers
An example configuring a new custom property for URL providers follows:
- Identify the parent ID and assign it to the newurlp variable.
set newurlp [$AdminConfig getid /Cell:cellname/Node:nodename/URLProvider:URLP1/]
An example of this output follows:
URLP1(cells/cellname/nodes/nodename:resources.xml#URLProvider_1)- Create a J2EE resource property set:
$set newPropSet [$AdminConfig create J2EEResourcePropertySet $newurlp {}]
An example of this output follows:
(cells/cellname/nodes/nodename:resources.xml#J2EEResourcePropertySet_7)- Identify the required attributes:
$AdminConfig required J2EEResourceProperty
An example of this output follows:
Attribute Type name String- Set up the required attributes:
set name [list name RP2] set rpAttrs [list $name]- Create a J2EE resource property:
$AdminConfig create J2EEResourceProperty $newPropSet $rpAttrs
An example of this output follows:
RP2(cells/cellname/nodes/nodename:resources.xml#J2EEResourceProperty_1)- Save changes:
$AdminConfig save
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.