Package com.caucho.server.e_app

Examples of com.caucho.server.e_app.EnterpriseApplication


  @SuppressWarnings("unchecked")
  private void bindDefaultJndi(String prefix, AbstractEjbBeanManager server)
  {
    try {
      EnterpriseApplication eApp = EnterpriseApplication.getCurrent();

      if (prefix == null)
        prefix = "";
      else if (!prefix.endsWith("/"))
        prefix = prefix + "/";

      if (eApp != null && eApp.getName() != null)
        prefix = prefix + eApp.getName() + "/";

      prefix = prefix + server.getEJBName();

      ClassLoader loader = Thread.currentThread().getContextClassLoader();
View Full Code Here


  private <X> void bindPortableJndiApis(AbstractEjbBeanManager<X> manager)
  {
    String appName = null;

    EnterpriseApplication app = EnterpriseApplication.getCurrent();
    if (app != null)
      appName = app.getName();
   
    String moduleName = manager.getModuleName();

    if (moduleName != null) {
      ServerLocalProxy proxy = null;
View Full Code Here

  @SuppressWarnings("unchecked")
  private void bindDefaultJndi(String prefix, AbstractServer server)
  {
    try {
      EnterpriseApplication eApp = EnterpriseApplication.getLocal();

      if (prefix == null)
        prefix = "";
      else if (!prefix.endsWith("/"))
        prefix = prefix + "/";

      if (eApp != null)
        prefix = prefix + eApp.getName() + "/";

      prefix = prefix + server.getEJBName();

      ClassLoader loader = Thread.currentThread().getContextClassLoader();
View Full Code Here

TOP

Related Classes of com.caucho.server.e_app.EnterpriseApplication

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.