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

java.lang.Object
  |
  +--org.omg.CORBA.portable.Delegate
        |
        +--org.omg.CORBA_2_3.portable.Delegate
              |
              +--org.objectweb.david.apis.binding.DavidDelegate
                    |
                    +--org.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.


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
 Request create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result)
           
 Request create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)
           
 Object duplicate(Object obj)
           
protected  void finalize()
          Standard finalize method.
 InterfaceDef get_interface(Object self)
           
 Identifier[] getIdentifiers()
          Returns the set of identifiers associated with the target reference.
 int hash(Object obj, int max)
           
 boolean is_a(Object obj, String repository_id)
           
 boolean is_equivalent(Object obj, Object other)
           
 boolean non_existent(Object obj)
           
 void release(Object obj)
           
 Request request(Object obj, 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.
Following copied from interface: org.objectweb.jonathan.apis.binding.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.
Following copied from interface: org.objectweb.jonathan.apis.binding.Reference
Parameters:
ids - the set of identifiers to be associated with the target reference.

duplicate

public Object duplicate(Object obj)
Overrides:
duplicate in class Delegate

release

public void release(Object obj)
Overrides:
release in class Delegate

is_a

public boolean is_a(Object obj,
                    String repository_id)
Overrides:
is_a in class Delegate

non_existent

public boolean non_existent(Object obj)
Overrides:
non_existent in class Delegate

is_equivalent

public boolean is_equivalent(Object obj,
                             Object other)
Overrides:
is_equivalent in class Delegate

hash

public int hash(Object obj,
                int max)
Overrides:
hash in class Delegate

request

public Request request(Object obj,
                       String operation)
Overrides:
request in class Delegate

create_request

public Request create_request(Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
Overrides:
create_request in class Delegate

create_request

public Request create_request(Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
Overrides:
create_request in class Delegate

get_interface

public InterfaceDef get_interface(Object self)
Overrides:
get_interface in class Delegate

finalize

protected void finalize()
Standard finalize method.
Overrides:
finalize in class Object