org.ow2.jonas.naming
Interface JComponentContextFactoryDelegate

All Known Implementing Classes:
HandleDelegateCCFDelegate, JTimerHandleDelegate, ORBCCFDelegate, ServerTransactionCCFDelegate, TransactionCCFDelegate, UserTransactionCCFDelegate

public interface JComponentContextFactoryDelegate

The JComponentContextFactoryDelegate interface is used to separate the NamingManager implementation of other container implementation details concerning the component Context content.
Example: Add the java:comp/ORB CORBA ORB instance in the Context.

Author:
Guillaume Sauthier

Method Summary
 void modify(Context componentContext)
          Gives the possibility to modify the java:comp component Context.
 void undo(Context componentContext)
          Undo the changes done by this delegate on the given java:comp context.
 

Method Detail

modify

void modify(Context componentContext)
            throws NamingException
Gives the possibility to modify the java:comp component Context.

Parameters:
componentContext - java:comp/ component context to be modified.
Throws:
NamingException - thrown if something goes wrong during the Context update.

undo

void undo(Context componentContext)
          throws NamingException
Undo the changes done by this delegate on the given java:comp context.

Parameters:
componentContext - java:comp/ component context to be modified.
Throws:
NamingException - thrown if something goes wrong during the Context update.


Copyright © 2010 OW2 Consortium. All Rights Reserved.