modifySCAImportEJBBinding command

Use the modifySCAImportEJBBinding command to modify the attributes of an Enterprise JavaBeans (EJB) import binding.

After using the command, save your changes to the master configuration using one of the following commands:
  • For Jython:
    AdminConfig.save()
  • For Jacl:
    $AdminConfig save

Required parameters

–moduleName moduleName
The name of the module associated with the import.
-import import
The name of the import.
-jndiName import
The modified property JNDI name of the import binding.

Optional parameters

-applicationName applicationName
The name of the application connecting to the import.

Example

The following example uses modifySCAImportEJBBinding to modify the attributes of the EJB import binding for a module called MyMod and an import called Import1.

  • Jython example:
    AdminTask.modifySCAImportEJBBinding('[-moduleName MyMod 
    -import Import1 -jndiName newjndiName]')
  • Jacl example:
    $AdminTask modifySCAImportEJBBinding {-moduleName MyMod 
    -import Import1 -jndiName newjndiName}