org.openxava.ejbx
Class EJBContextFactory

java.lang.Object
  extended by org.openxava.ejbx.EJBContextFactory

public class EJBContextFactory
extends java.lang.Object

It create IEJBContexts.

Author:
Javier Paniza

Constructor Summary
EJBContextFactory()
           
 
Method Summary
static IEJBContext create(EJBContext ejbContext)
          It create a IEJBContext used for implementing the EJBContext indicated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBContextFactory

public EJBContextFactory()
Method Detail

create

public static IEJBContext create(EJBContext ejbContext)
                          throws InitException
It create a IEJBContext used for implementing the EJBContext indicated.
Postcondition: If you send null as argument you can cause the invariant of the created objects with its consequences (throw of exception on use it).

Throws:
InitException