public class AoService extends java.lang.Object implements AoService
Property Keyword | Datatype | Default | Description |
---|---|---|---|
NameServiceName | String | NameService | The name of the requested CORBA Name Service. This value is an application property. |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
serviceOptions |
Constructor and Description |
---|
AoService() |
AoService(java.lang.String serviceOptions)
The constructor receiving the option string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
listServices(java.lang.String pattern)
Returns a list of available services.
|
AoFactory |
newFactory(java.lang.String avalonServiceName,
java.lang.String factoryOptions)
Creates a new factory of the requested service.
|
protected void |
print_binding_list(org.omg.CosNaming.BindingListHolder bl)
Print the binding list of the name service.
|
public AoService()
public AoService(java.lang.String serviceOptions)
serviceOptions
- The option string. It contains a colon separated list of options.protected void print_binding_list(org.omg.CosNaming.BindingListHolder bl)
bl
- The binding listpublic java.lang.String[] listServices(java.lang.String pattern)
listServices
in interface AoService
pattern
- The name or the search pattern of
the requested service. The pattern
"*" is equivalent to NULL.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORYpublic AoFactory newFactory(java.lang.String avalonServiceName, java.lang.String factoryOptions)
newFactory
in interface AoService
serviceName
- The name of the requested
service.factoryOptions
- A string that contains optional
name-value pairs, e.g. DEBUGLEVEL=3.
The factory options are implementation
dependent. An implementation must
have reasonable defaults for proper
operation.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY