public class ServiceToolsAbstract
extends java.lang.Object
Property Keyword | Datatype | Default | Description |
---|---|---|---|
ORBInitRef | String | none | The initial reference of the CORBA NameSerivce. The ORBINitiRef must have the following format: NameService=corbaloc:iiop:1.2\@testserver:2809/NameService This value is an application property. |
NameServicePort | String | 2809 | The port number of the requested CORBA Name Service. This value is an application property. It is ignored if ORBInitRef is set. |
NameServiceHost | String | localhost | The host name of the requested CORBA Name Service. This value is an application property. It is ignored if ORBInitRef is set. |
ServiceName | String | None. | The service to be connected. This value is an application property. |
Username | String | None | The name of the ODS user, the user must be part of the superuser group. This value is an application property. |
Password | String | None | The password of the ODS user. This value is an application property. |
Modifier and Type | Field and Description |
---|---|
protected com.highqsoft.avalon.AvalonControl |
ac |
protected com.highqsoft.avalon.AvalonControlFactory |
acf |
protected java.lang.String[] |
args |
Constructor and Description |
---|
ServiceToolsAbstract() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
analyzeArgAuth(java.lang.String[] args)
Analyze the arguments for the authentication.
|
protected java.lang.String |
analyzeArgServiceName(java.lang.String[] args)
Analyze the arguments for the name of the service.
|
protected java.lang.String[] |
analyzeArgsORB(java.lang.String[] args)
Analyze the arguments for the ORB initialization arguments.
|
protected com.highqsoft.avalon.AvalonControl |
connectControl()
Connect the the AvalonControl.
|
protected com.highqsoft.avalon.AvalonControl |
connectControl(java.lang.String[] args,
java.lang.String serviceName,
java.lang.String[] auth)
Connect the the AvalonControl.
|
protected com.highqsoft.avalon.AvalonControlFactory |
getControlFactory(java.lang.String[] args,
java.lang.String serviceName)
Connect to the AvalonControlFactory.
|
void |
setArgs(java.lang.String[] args)
Set the arguments.
|
void |
show(com.highqsoft.avalon.AvalonException e)
Show the AvalonException of stderr.
|
protected com.highqsoft.avalon.AvalonControlFactory acf
protected com.highqsoft.avalon.AvalonControl ac
protected java.lang.String[] args
protected com.highqsoft.avalon.AvalonControlFactory getControlFactory(java.lang.String[] args, java.lang.String serviceName)
args
- the arguments for the orb initialization.serviceName
- the name of the service.protected com.highqsoft.avalon.AvalonControl connectControl(java.lang.String[] args, java.lang.String serviceName, java.lang.String[] auth)
args
- the arguments for the ORB initialization.serviceName
- the serviceName.auth
- the arguments with the authentication.protected com.highqsoft.avalon.AvalonControl connectControl()
protected java.lang.String[] analyzeArgsORB(java.lang.String[] args)
args
- the arguments.protected java.lang.String analyzeArgServiceName(java.lang.String[] args)
args
- the arguments.protected java.lang.String[] analyzeArgAuth(java.lang.String[] args)
args
- the arguments.public void setArgs(java.lang.String[] args)
args
- public void show(com.highqsoft.avalon.AvalonException e)
e
- the exception