public class AvalonControlFactory
extends com.highqsoft.avalon.AvalonControlFactoryPOA
implements com.highqsoft.avalon.AvalonControlFactory
Modifier and Type | Field and Description |
---|---|
protected AoFactoryIF |
aofObj |
protected org.omg.CORBA.ORB |
orb |
Constructor and Description |
---|
AvalonControlFactory(org.omg.CORBA.ORB orb,
AoFactoryIF aofObj,
int debuglevel) |
AvalonControlFactory(org.omg.CORBA.ORB orb,
AoFactoryIF aofObj,
int debuglevel,
AvalonConfigurationService configuration) |
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_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) |
com.highqsoft.avalon.AvalonControl |
connect(com.highqsoft.avalon.AvalonProperty[] auth)
Connect to the avalon service.
|
AvalonConfigurationService |
getAvalonConfigurationService()
Returns the avalonConfiguration instance
|
java.lang.String |
getName()
Get the name of the avalon service, this is the same name of the ASAM ODS AoFactory
served by Avalon.
|
void |
removeAvalonControlSessionFromCash(AoSession aosObj)
Remove AvalonControl object from cach, when avalon control session is closed.
|
org.omg.CORBA.Object |
servantToReference(org.omg.PortableServer.Servant servant)
Convert a CORBA servant to a CORBA reference.
|
protected static void |
setDebugLevel(int dbgLevel)
Set the debuglevel.
|
_all_interfaces, _invoke, _this, _this
_default_POA, _get_delegate, _get_interface_def, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
protected AoFactoryIF aofObj
protected org.omg.CORBA.ORB orb
public AvalonControlFactory(org.omg.CORBA.ORB orb, AoFactoryIF aofObj, int debuglevel)
public AvalonControlFactory(org.omg.CORBA.ORB orb, AoFactoryIF aofObj, int debuglevel, AvalonConfigurationService configuration)
protected static void setDebugLevel(int dbgLevel)
dbgLevel,
- the debug level.public org.omg.CORBA.Object servantToReference(org.omg.PortableServer.Servant servant)
servant
- The servant to be converted to a reference.public com.highqsoft.avalon.AvalonControl connect(com.highqsoft.avalon.AvalonProperty[] auth) throws com.highqsoft.avalon.AvalonException
connect
in interface com.highqsoft.avalon.AvalonControlFactoryOperations
auth
- the list with authentication parameters.
USER, the username
PASSWORD, the password
IOR, IOR of org.asam.ods.AoSessioncom.highqsoft.avalon.AvalonException
- with errorcode
AVALON_ASAMODS_EXCEPTION when the error occurs at the login to the ods interface.public void removeAvalonControlSessionFromCash(AoSession aosObj)
public AvalonConfigurationService getAvalonConfigurationService()
public java.lang.String getName() throws com.highqsoft.avalon.AvalonException
getName
in interface com.highqsoft.avalon.AvalonControlFactoryOperations
com.highqsoft.avalon.AvalonException
- with errorcode
AVALON_ASAMODS_EXCEPTION when the error occurs at the login to the ods interface.public boolean _is_a(java.lang.String repositoryIdentifier)
_is_a
in interface org.omg.CORBA.Object
_is_a
in class org.omg.PortableServer.Servant
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
_non_existent
in class org.omg.PortableServer.Servant
public int _hash(int maximum)
_hash
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _duplicate()
_duplicate
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.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.Policy _get_policy(int policy_type)
_get_policy
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 _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
_set_policy_override
in interface org.omg.CORBA.Object