org.objectweb.david.libs.stub_factories.std
Class JDelegate

java.lang.Object
  extended byorg.omg.CORBA.portable.Delegate
      extended byorg.omg.CORBA_2_3.portable.Delegate
          extended byorg.objectweb.david.apis.binding.DavidDelegate
              extended byorg.objectweb.david.libs.stub_factories.std.JDelegate
All Implemented Interfaces:
Constants, Reference
Direct Known Subclasses:
JStubFactory.ClientDelegate, ServerDelegate

public abstract class JDelegate
extends DavidDelegate
implements Constants

Base class for delegates.


Field Summary
 
Fields inherited from interface org.objectweb.david.libs.stub_factories.std.Constants
_bad_operation, _corba_object_id, _corba_prefix, _just_corba_object
 
Constructor Summary
JDelegate(Identifier[] ids)
          Creates a new JDelegate with the provided identifiers.
 
Method Summary
 org.omg.CORBA.Request create_request(org.omg.CORBA.Object obj, 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.Object obj, 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.Object obj)
           
protected  void finalize()
          Standard finalize method.
 org.omg.CORBA.InterfaceDef get_interface(org.omg.CORBA.Object self)
           
 Identifier[] getIdentifiers()
          Returns the set of identifiers associated with the target reference.
 int hash(org.omg.CORBA.Object obj, int max)
           
 boolean is_a(org.omg.CORBA.Object obj, java.lang.String repository_id)
           
 boolean is_equivalent(org.omg.CORBA.Object obj, org.omg.CORBA.Object other)
           
 boolean non_existent(org.omg.CORBA.Object obj)
           
 void release(org.omg.CORBA.Object obj)
           
 org.omg.CORBA.Request request(org.omg.CORBA.Object obj, java.lang.String operation)
           
 void setIdentifiers(Identifier[] ids)
          Sets the set of identifiers associated with the target reference.
 
Methods inherited from class org.omg.CORBA_2_3.portable.Delegate
get_codebase
 
Methods inherited from class org.omg.CORBA.portable.Delegate
equals, get_domain_managers, get_interface_def, get_policy, hashCode, invoke, is_local, orb, releaseReply, request, servant_postinvoke, servant_preinvoke, set_policy_override, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDelegate

public JDelegate(Identifier[] ids)
Creates a new JDelegate with the provided identifiers.

Parameters:
ids - a set of identifiers.
Method Detail

getIdentifiers

public Identifier[] getIdentifiers()
Description copied from interface: Reference
Returns the set of identifiers associated with the target reference.

Specified by:
getIdentifiers in interface Reference
Returns:
the set of identifiers associated with the target reference.

setIdentifiers

public void setIdentifiers(Identifier[] ids)
Description copied from interface: Reference
Sets the set of identifiers associated with the target reference.

Specified by:
setIdentifiers in interface Reference
Parameters:
ids - the set of identifiers to be associated with the target reference.

duplicate

public org.omg.CORBA.Object duplicate(org.omg.CORBA.Object obj)

release

public void release(org.omg.CORBA.Object obj)

is_a

public boolean is_a(org.omg.CORBA.Object obj,
                    java.lang.String repository_id)

non_existent

public boolean non_existent(org.omg.CORBA.Object obj)

is_equivalent

public boolean is_equivalent(org.omg.CORBA.Object obj,
                             org.omg.CORBA.Object other)

hash

public int hash(org.omg.CORBA.Object obj,
                int max)

request

public org.omg.CORBA.Request request(org.omg.CORBA.Object obj,
                                     java.lang.String operation)

create_request

public org.omg.CORBA.Request create_request(org.omg.CORBA.Object obj,
                                            org.omg.CORBA.Context ctx,
                                            java.lang.String operation,
                                            org.omg.CORBA.NVList arg_list,
                                            org.omg.CORBA.NamedValue result)

create_request

public org.omg.CORBA.Request create_request(org.omg.CORBA.Object obj,
                                            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)

get_interface

public org.omg.CORBA.InterfaceDef get_interface(org.omg.CORBA.Object self)

finalize

protected void finalize()
Standard finalize method.