FileDocCategorySizeDatePackage
DefaultEjbEncFactory.javaAPI DocJBoss 4.2.12325Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3

DefaultEjbEncFactory

public class DefaultEjbEncFactory extends Object implements EjbEncFactory
comment
author
Bill Burke
version
$Revision: 1.1 $

Fields Summary
Constructors Summary
Methods Summary
public voidcleanupEnc(EJBContainer container)

      // FIXME: NYI
      throw new RuntimeException("NYI");
//      ENCFactory.getEncById().remove(container.getObjectName());
   
public javax.naming.ContextgetEnc(EJBContainer container)

      pushEnc(container);
      InitialContext ctx = container.getInitialContext();
      try
      {
         return (Context)ctx.lookup("java:comp");
      }
      catch (NamingException e)
      {
         throw new RuntimeException(e);
      }
      finally
      {
         popEnc(container);   
      }
   
public voidpopEnc(EJBContainer container)

      // FIXME: NYI
      throw new RuntimeException("NYI");
//      ENCFactory.popContextId();
   
public voidpushEnc(EJBContainer container)

      // FIXME: NYI
      throw new RuntimeException("NYI");
//      ENCFactory.pushContextId(container.getObjectName());