public class AoSessionIORDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Properties |
context |
protected XSDContextIF |
ctx |
protected java.lang.String |
ior |
protected java.lang.String |
nameServiceHost |
protected java.lang.String |
nameServicePort |
protected java.lang.String |
orbImplementation |
protected java.lang.String |
protocol |
Constructor and Description |
---|
AoSessionIORDescriptor(XSDContextIF ctx,
java.lang.String ior,
java.lang.String nameServiceHost,
java.lang.String nameServicePort,
java.lang.String orbImplementation,
java.lang.String protocol,
java.util.Properties context)
Create the descriptor.
|
Modifier and Type | Method and Description |
---|---|
AoSession |
createSession()
Create the ASAM ODS session belongs to that descriptor.
|
java.lang.String |
getCORBAProtocol() |
java.lang.String |
getIOR() |
java.lang.String |
getNameServiceHost() |
java.lang.String |
getNameServicePort() |
java.lang.String |
getOrbImplementation() |
protected java.util.Properties context
protected XSDContextIF ctx
protected java.lang.String nameServiceHost
protected java.lang.String nameServicePort
protected java.lang.String orbImplementation
protected java.lang.String protocol
protected java.lang.String ior
public AoSessionIORDescriptor(XSDContextIF ctx, java.lang.String ior, java.lang.String nameServiceHost, java.lang.String nameServicePort, java.lang.String orbImplementation, java.lang.String protocol, java.util.Properties context)
ctx
- the schema context.ior
- the IOR string of the session to be used.nameServiceHost
- the name service host.nameServicePort
- the name service port.orbImplementation
- the ORB implementation sunorb or jacorb.protocoll
- the protocoll type.context
- the session context variables.public AoSession createSession() throws AoException
AoException
- if creation fails.public java.lang.String getIOR()
public java.lang.String getNameServiceHost()
public java.lang.String getNameServicePort()
public java.lang.String getOrbImplementation()
public java.lang.String getCORBAProtocol()