org.openmdx.kernel.application.container.spi.ejb
Interface ContextSwitcher

All Known Implementing Classes:
BeanInstanceFactory

public interface ContextSwitcher

Context Switcher


Method Summary
 Object setBeanContext()
          Replace the caller's context by the EJB's context.
 void setCallerContext(Object callerContext)
          Replace the EJB's context by the caller's context.
 

Method Detail

setBeanContext

Object setBeanContext()
Replace the caller's context by the EJB's context.

Returns:
the caller's context

setCallerContext

void setCallerContext(Object callerContext)
Replace the EJB's context by the caller's context.

Parameters:
callerContext - the caller's context


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.