Modifier and Type | Field and Description |
---|---|
protected long |
cObjPtr |
protected static org.omg.PortableServer.POA |
poa |
protected static java.util.HashMap<org.omg.PortableServer.Servant,org.omg.CORBA.Object> |
servantRefCache |
Constructor and Description |
---|
AoService(org.omg.PortableServer.POA poa) |
AoService(org.omg.PortableServer.POA poa,
java.util.Properties props) |
AoService(java.lang.String options,
org.omg.PortableServer.POA poa) |
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.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_equivalent(org.omg.CORBA.Object other) |
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) |
static void |
deactivateFromPOA(org.omg.PortableServer.Servant servant) |
static void |
destroy()
Destroy the root POA and the static variables.
|
protected void |
finalize() |
static org.omg.PortableServer.POA |
getChildPoa(int sessionCnt)
Get the POA of the service.
|
static org.omg.PortableServer.POA |
getPoa()
Get the POA of the service.
|
java.lang.String[] |
listServices(java.lang.String servicePattern)
Returns a list of available services.
|
AoFactory |
newFactory(java.lang.String serviceName,
java.lang.String factoryOptions)
Creates a new session factory of the requested service.
|
static org.omg.PortableServer.Servant |
referenceToServant(org.omg.CORBA.Object reference) |
static org.omg.CORBA.Object |
servantToReference(org.omg.PortableServer.Servant servant)
Convert a CORBA servant to a CORBA reference.
|
static void |
setAthosEnv(java.lang.String key,
java.lang.String value)
Set an environment variable for the ATHOS Runtime System.
|
protected static java.util.HashMap<org.omg.PortableServer.Servant,org.omg.CORBA.Object> servantRefCache
protected long cObjPtr
protected static org.omg.PortableServer.POA poa
public AoService(java.lang.String options, org.omg.PortableServer.POA poa)
public AoService(org.omg.PortableServer.POA poa, java.util.Properties props)
public AoService(org.omg.PortableServer.POA poa)
public static void setAthosEnv(java.lang.String key, java.lang.String value)
key
- the name of the environment variable.value
- the value of the environment variablepublic static void destroy()
public static org.omg.PortableServer.POA getPoa()
public static org.omg.PortableServer.POA getChildPoa(int sessionCnt)
public static org.omg.CORBA.Object servantToReference(org.omg.PortableServer.Servant servant)
servant
- The servant to be converted to a reference.public static void deactivateFromPOA(org.omg.PortableServer.Servant servant)
public static org.omg.PortableServer.Servant referenceToServant(org.omg.CORBA.Object reference)
public java.lang.String[] listServices(java.lang.String servicePattern) throws AoException
listServices
in interface AoService
servicePattern
- 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 serviceName, java.lang.String factoryOptions) throws AoException
newFactory
in interface AoService
serviceName
- The name of the service for which a
new session factory shall be
instantiated.factoryOptions
- A string that contains optional
name-value pairs, e.g.
DEBUGLEVEL=3. The 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_MEMORYprotected 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)
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)
public org.omg.CORBA.Object _duplicate()
public org.omg.CORBA.DomainManager[] _get_domain_managers()
public org.omg.CORBA.Policy _get_policy(int policy_type)
public int _hash(int maximum)
public boolean _is_equivalent(org.omg.CORBA.Object other)
public void _release()
public org.omg.CORBA.Request _request(java.lang.String operation)
public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)