InfoCenter Home > 6.6.0.2.2.3.9: Manipulating the JNDI context of objectsThe wscp Context operations allow you to manipulate the Java Naming and Directory Interface (JNDI) context of objects that use JNDI name bindings, such as J2CConnectionFactory, DataSource, URL and MailSession objects. The following example creates an initial JNDI context: wscp> Context init The following command binds a MailSession object to the JNDI naming context ejsadmin: wscp> Context bind /MailSession:UserMail/ ejsadmin The following command unbinds a DataSource object from itsJNDI naming context: wscp> Context unbind /JDBCDriver:DB2drv/DataSource:appData/ For more information on JNDI, see JNDI (Java Naming and Directory Interface) overview. |
| ||
|