public class AoServiceFactory
extends java.lang.Object
Constructor and Description |
---|
AoServiceFactory() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
listPlugableComponents()
Returns a list of plugable ASAM-ODS components.
|
static void |
main(java.lang.String[] args)
The main testing routine.
|
static AoService |
newService(java.lang.String plugableComponent,
java.lang.String serviceOptions)
Creates a new service via the requested plugable component.
|
public static final int CORBA
public static final int ATHOS
public static java.lang.String[] listPlugableComponents() throws AoException
AoException
public static AoService newService(java.lang.String plugableComponent, java.lang.String serviceOptions) throws AoException
plugableComponent
- The name of the requested
plugable component.serviceOptions
- Service dependent options.
Example 1 (Athos implementation):
"INIFILE=ATHOS_INI"
Example 2 (Corba implementation):
"NameServicePort=2809, NameServiceHost=locahost"AO_BAD_PARAMETER
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AoException
public static void main(java.lang.String[] args)