public class AoSessionDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Properties |
context |
protected XSDContextIF |
ctx |
protected java.lang.String |
fOptions |
protected java.lang.String |
plumName |
protected java.lang.String |
sOptions |
protected java.lang.String |
srvName |
protected java.lang.String |
srvOptions |
Constructor and Description |
---|
AoSessionDescriptor(XSDContextIF ctx,
java.lang.String plumName,
java.lang.String srvOptions,
java.lang.String srvName,
java.lang.String fOptions,
java.lang.String sOptions,
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 |
getFactoryOptions() |
java.lang.String |
getPlumName() |
java.lang.String |
getServiceName() |
java.lang.String |
getServiceOptions() |
java.lang.String |
getSessionOptions() |
protected java.lang.String plumName
protected java.lang.String srvOptions
protected java.lang.String srvName
protected java.lang.String fOptions
protected java.lang.String sOptions
protected java.util.Properties context
protected XSDContextIF ctx
public AoSessionDescriptor(XSDContextIF ctx, java.lang.String plumName, java.lang.String srvOptions, java.lang.String srvName, java.lang.String fOptions, java.lang.String sOptions, java.util.Properties context)
ctx
- the schema context.plumName
- The name of the plugable component class.srvOptions
- the service option string.srvName
- the service name.fOptions
- the factory option string.sOptions
- the session option string.context
- the session context variables.public AoSession createSession() throws AoException
AoException
- if creation fails.public java.lang.String getPlumName()
public java.lang.String getSessionOptions()
public java.lang.String getServiceOptions()
public java.lang.String getServiceName()
public java.lang.String getFactoryOptions()