Retrieves configuration objects based on provided criteria.

getid ( <criteria> )

Arguments

criteria

a string in the form of (/<type>:[<name>]/)+

Result

An array of wdr.config.ConfigObject objects.

Examples

  • Retrieving Cell object
print getid('/Cell:/')[0]
wdrCell(cells/wdrCell|cell.xml#Cell_1)
  • Retrieving a named DataSource
print getid('/DataSource:DefaultEJBTimerDataSource/')
[DefaultEJBTimerDataSource(cells/wdrCell/nodes/wdrNode/servers/wdrServer|resources.xml#DataSource_1000001)]
  • Retrieving JavaProcessDef from a named server
print getid('/Server:wdrServer/JavaProcessDef:/')
[(cells/wdrCell/nodes/wdrNode/servers/wdrServer|server.xml#JavaProcessDef_1335359012301)]

See also