Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
Provider command group
Use the Jython or Jacl scripting languages to configure mail settings with wsadmin.sh. The commands and parameters in the provider group can be used to create, delete, and manage providers.
The Provider command group includes the following commands:
deleteProvider
The deleteProvider command deletes a provider from the model given the providerName.
Target object
None
Parameters and return values
- Parameters: None
- Returns: true if the provider was deleted, false if not.
Examples
Interactive example...
### Jacl
$AdminTask deleteProvider {-interactive}### Jython string
AdminTask.deleteProvider ('[-interactive]')
Jython list:
AdminTask.deleteProvider (['-interactive'])
getProviderInfo
The getProviderInfo command returns a ProviderInfo object defined in the model given the providerName.
Target object
None
Parameters and return values
- Parameters: None
- Returns: A ProviderInfo object defined in the model given the providerName.
Examples
Interactive example...
### Jacl
$AdminTask getProviderInfo {-interactive}### Jython string
AdminTask.getProviderInfo ('[-interactive]')
Jython list:
AdminTask.getProviderInfo (['-interactive'])
getProviderInstance
The getProviderInstance command returns a java.security.Provider for the providerName specified.
Target object
None
Parameters and return values
- Parameters: None
- Returns: A java.security.Provider for the providerName specified.
Examples
Interactive example...
### Jacl
$AdminTask getProviderInstance {-interactive}### Jython string
AdminTask.getProviderInstance ('[-interactive]')
Jython list:
AdminTask.getProviderInstance (['-interactive'])
getProviders
The getProviders command returns a List of ProviderInfo objects from the model.
Target object
None
Parameters and return values
- Parameters: None
- Returns: A list of ProviderInfo objects from the model.
Examples
Interactive example...
### Jacl
$AdminTask getProviders {-interactive}### Jython string
AdminTask.getProviders ('[-interactive]')
Jython list:
AdminTask.getProviders (['-interactive'])
Use the wsadmin scripting AdminTask object for scripted administration
Related
Commands using wsadmin.sh