public class AoFactory extends java.lang.Object implements AoFactory
Modifier and Type | Field and Description |
---|---|
protected long |
cObjPtr |
Modifier and Type | Method and Description |
---|---|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) |
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist) |
org.omg.CORBA.Object |
_duplicate() |
org.omg.CORBA.DomainManager[] |
_get_domain_managers() |
org.omg.CORBA.Object |
_get_interface_def() |
org.omg.CORBA.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_a(java.lang.String repositoryIdentifier) |
boolean |
_is_equivalent(org.omg.CORBA.Object other) |
boolean |
_non_existent() |
void |
_release() |
org.omg.CORBA.Request |
_request(java.lang.String operation) |
org.omg.CORBA.Object |
_set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) |
boolean |
equals(java.lang.Object obj) |
protected void |
finalize() |
java.lang.String |
getDescription()
Get the description of the ASAM-ODS factory.
|
java.lang.String |
getInterfaceVersion()
Get the interface version of the ASAM-ODS factory.
|
java.lang.String |
getName()
Get the name of the ASAM-ODS factory.
|
java.lang.String |
getType()
Get the type of the ASAM-ODS factory.
|
AoSession |
newSession(java.lang.String auth)
Establish a new session to an ASAM-ODS server.
|
AoSession |
newSessionNameValue(NameValue[] nvauth)
Establish a new session to an ASAM-ODS server.
|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getDescription() throws AoException
getDescription
in interface AoFactoryOperations
AoException
- with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORYpublic java.lang.String getInterfaceVersion() throws AoException
getInterfaceVersion
in interface AoFactoryOperations
AoException
- with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORYpublic java.lang.String getName() throws AoException
getName
in interface AoFactoryOperations
AoException
- with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORYpublic java.lang.String getType() throws AoException
getType
in interface AoFactoryOperations
AoException
- with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORYpublic AoSession newSession(java.lang.String auth) throws AoException
newSession
in interface AoFactoryOperations
auth
- A string that may contain authentication
information. The following values are
currently supported:
USERNAME
PASSWORD
OPENMODE
The values may be specified in any order and
have to be separated by comma.
Example:
"username=hans, password=secret,
openmode=read"AoException
- with the following possible error codes:
AO_CONNECT_FAILED
AO_CONNECT_REFUSED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_OPEN_MODE_NOT_SUPPORTED
AO_SESSION_LIMIT_REACHEDpublic AoSession newSessionNameValue(NameValue[] nvauth) throws AoException
newSessionNameValue
in interface AoFactoryOperations
auth
- A string that may contain authentication
information. The following values are
currently supported:
USERNAME
PASSWORD
OPENMODE
The values may be specified in any order and
have to be separated by comma.
Example:
"username=hans, password=secret,
openmode=read"AoException
- with the following possible error codes:
AO_CONNECT_FAILED
AO_CONNECT_REFUSED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_OPEN_MODE_NOT_SUPPORTED
AO_SESSION_LIMIT_REACHEDprotected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)
_create_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exclist, org.omg.CORBA.ContextList ctxlist)
_create_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _duplicate()
_duplicate
in interface org.omg.CORBA.Object
public org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _get_interface_def()
_get_interface_def
in interface org.omg.CORBA.Object
public org.omg.CORBA.Policy _get_policy(int policy_type)
_get_policy
in interface org.omg.CORBA.Object
public int _hash(int maximum)
_hash
in interface org.omg.CORBA.Object
public boolean _is_a(java.lang.String repositoryIdentifier)
_is_a
in interface org.omg.CORBA.Object
public boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent
in interface org.omg.CORBA.Object
public boolean _non_existent()
_non_existent
in interface org.omg.CORBA.Object
public void _release()
_release
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _request(java.lang.String operation)
_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
_set_policy_override
in interface org.omg.CORBA.Object