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
AoExceptionpublic 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_PARAMETERAO_IMPLEMENTATION_PROBLEMAO_NOT_IMPLEMENTEDAO_NO_MEMORYAoExceptionpublic static void main(java.lang.String[] args)