Package com.caucho.env.jpa

Examples of com.caucho.env.jpa.ListenerPersistenceEnvironment


      // if there's no ejb-jar.xml
      // EjbManager.setScanAll();

      Environment.init();

      Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
      Environment.addChildLoaderListener(new EjbEnvironmentListener());

      Environment.addCloseListener(this);

      Class<?> resinCdiProducer = getResinCdiProducerClass();
View Full Code Here


    try {
      thread.setContextClassLoader(_classLoader);

      Environment.init();

      Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
      Environment.addChildLoaderListener(new EjbEnvironmentListener());

      _injectManager.addManagedBean(_injectManager.createManagedBean(ResinCdiProducer.class));

      Class<?> resinValidatorClass = ResinCdiProducer.createResinValidatorProducer();
View Full Code Here

   */
  @PostConstruct
  public void init()
  {
    try {
      Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
   
      // _ejbContainer.start();
     
      PersistenceManager persistenceManager = PersistenceManager.create();
     
View Full Code Here

      log.fine("Initializing ejb-server : local-jndi="
               + _ejbContainer.getProtocolManager().getLocalJndiPrefix()
               + " remote-jndi="
               + _ejbContainer.getProtocolManager().getRemoteJndiPrefix());

      Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
      Environment.addChildLoaderListener(new EjbEnvironmentListener());
    } catch (Exception e) {
      log.log(Level.WARNING, e.toString(), e);

      throw e;
View Full Code Here

  }

  @PostConstruct
  public void init()
  {
    Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
  }
View Full Code Here

      // watchdog/0212
      // else
      //  setRootDirectory(Vfs.getPwd());

      Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
      Environment.addChildLoaderListener(new WebBeansAddLoaderListener());
      Environment.addChildLoaderListener(new EjbEnvironmentListener());
      InjectManager cdiManager = InjectManager.create();
     
      ResinVar resinVar = new ResinVar(getServerId(),
View Full Code Here

  }

  @PostConstruct
  public void init()
  {
    Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
  }
View Full Code Here

   */
  @PostConstruct
  public void init()
  {
    try {
      Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
   
      // _ejbContainer.start();
     
      ManagerPersistence persistenceManager = ManagerPersistence.create();
     
View Full Code Here

      log.fine("Initializing ejb-server : local-jndi="
         + _ejbContainer.getProtocolManager().getLocalJndiPrefix()
               + " remote-jndi="
         + _ejbContainer.getProtocolManager().getRemoteJndiPrefix());

      Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());
      Environment.addChildLoaderListener(new EjbEnvironmentListener());
    } catch (Exception e) {
      log.log(Level.WARNING, e.toString(), e);

      throw e;
View Full Code Here

      Environment.init();

      EJBServer ejbServer = new EJBServer();
      ejbServer.init();

      Environment.addChildLoaderListener(new ListenerPersistenceEnvironment());

      _classLoader.scanRoot();
    } finally {
      thread.setContextClassLoader(oldLoader);
    }
View Full Code Here

TOP

Related Classes of com.caucho.env.jpa.ListenerPersistenceEnvironment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.