org.objectweb.david.apis.binding
Interface DelegateFactory

All Known Implementing Classes:
JDelegateFactory

public interface DelegateFactory

A delegate factory is used to provide a delegate to a given object implementation.


Method Summary
 DavidDelegate newDelegate(org.omg.CORBA.portable.ObjectImpl implementation)
          Returns the delegate of the provided implementation.
 

Method Detail

newDelegate

public DavidDelegate newDelegate(org.omg.CORBA.portable.ObjectImpl implementation)
Returns the delegate of the provided implementation.

If implementation already had a delegate, the latter is returned. Otherwise, the method creates a new delegate, associates it with the implementation, and returns the new delegate.

Parameters:
implementation - a CORBA Object implementation
Returns:
the delegate of the implementation.