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

java.lang.Object
  |
  +--org.objectweb.david.libs.stub_factories.std.JDelegateFactory
All Implemented Interfaces:
DelegateFactory

public class JDelegateFactory
extends Object
implements DelegateFactory

Super type of all CorbaStubFactory client stubs.


Method Summary
 DavidDelegate newDelegate(ObjectImpl implementation)
          Creates a new delegate for implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newDelegate

public DavidDelegate newDelegate(ObjectImpl implementation)
Creates a new delegate for implementation. The Delegate type depends on the implementation type: if the implementation is of type DynamicImplementation, a DynamicDelegate is created, otherwise a ServerDelegate is created. If the implementation is already associated with a delegate, the latter is returned.
Specified by:
newDelegate in interface DelegateFactory
Parameters:
implementation - a CORBA Object implementation.
Returns:
the delegate of the provided implementation.