Commands may add name-value pairs to the CIM session context. These values are available for lookup by any following commands, validators, providers, or during rendering using ${keyName} notation.

Use SessionContext.addToEnvironment(myKey, myObject) to add a pair to the session context. You can then retrieve the value using the following Java code:

Object obj = SessionContext.lookup(myKey)

You can also retrieve the value in a CIM XML file by using the following:

${myKey}

The following values are already available for you to use:

To avoid overwriting keys already in use, be cautious when naming keys.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices