throw NamingLogger.ROOT_LOGGER.illegalContextInName(jndiName); return new BindInfo(parentContextName, bindName);
} else if (i == 5) { return new BindInfo(JAVA_CONTEXT_SERVICE_NAME, context.substring(6)); } else { namespace = context.substring(5, i); return new BindInfo(GLOBAL_CONTEXT_SERVICE_NAME, context.substring(12)); } else if (namespace.equals("jboss")) { String rest = context.substring(i); if(rest.startsWith("/exported/")) { return new BindInfo(EXPORTED_CONTEXT_SERVICE_NAME, context.substring(20)); } else { return new BindInfo(JBOSS_CONTEXT_SERVICE_NAME, context.substring(11)); return new BindInfo(contextServiceNameOfApplication(app), context.substring(9)); } else if (namespace.equals("module")) { return new BindInfo(contextServiceNameOfModule(app, module), context.substring(12)); } else if (namespace.equals("comp")) { return new BindInfo(contextServiceNameOfComponent(app, module, comp), context.substring(10)); } else { return new BindInfo(JBOSS_CONTEXT_SERVICE_NAME, context);
throw NamingLogger.ROOT_LOGGER.illegalContextInName(jndiName); return new BindInfo(parentContextName, bindName);
} else if (i == 5) { return new BindInfo(JAVA_CONTEXT_SERVICE_NAME, context.substring(6)); } else { namespace = context.substring(5, i); return new BindInfo(GLOBAL_CONTEXT_SERVICE_NAME, context.substring(12)); } else if (namespace.equals("jboss")) { String rest = context.substring(i); if(rest.startsWith("/exported/")) { return new BindInfo(EXPORTED_CONTEXT_SERVICE_NAME, context.substring(20)); } else { return new BindInfo(JBOSS_CONTEXT_SERVICE_NAME, context.substring(11)); return new BindInfo(contextServiceNameOfApplication(app), context.substring(9)); } else if (namespace.equals("module")) { return new BindInfo(contextServiceNameOfModule(app, module), context.substring(12)); } else if (namespace.equals("comp")) { return new BindInfo(contextServiceNameOfComponent(app, module, comp), context.substring(10)); } else { return new BindInfo(JBOSS_CONTEXT_SERVICE_NAME, context);
} else if (i == 5) { return new BindInfo(JAVA_CONTEXT_SERVICE_NAME, context.substring(6)); } else { namespace = context.substring(5, i); return new BindInfo(GLOBAL_CONTEXT_SERVICE_NAME, context.substring(12)); } else if (namespace.equals("jboss")) { String rest = context.substring(i); if(rest.startsWith("/exported/")) { return new BindInfo(EXPORTED_CONTEXT_SERVICE_NAME, context.substring(20)); } else { return new BindInfo(JBOSS_CONTEXT_SERVICE_NAME, context.substring(11)); return new BindInfo(contextServiceNameOfApplication(app), context.substring(9)); } else if (namespace.equals("module")) { return new BindInfo(contextServiceNameOfModule(app, module), context.substring(12)); } else if (namespace.equals("comp")) { return new BindInfo(contextServiceNameOfComponent(app, module, comp), context.substring(10)); } else { return new BindInfo(JBOSS_CONTEXT_SERVICE_NAME, context);
} else if (i == 5) { return new BindInfo(JAVA_CONTEXT_SERVICE_NAME, context.substring(6)); } else { namespace = context.substring(5, i); return new BindInfo(GLOBAL_CONTEXT_SERVICE_NAME, context.substring(12)); } else if (namespace.equals("jboss")) { String rest = context.substring(i); if(rest.startsWith("/exported/")) { return new BindInfo(EXPORTED_CONTEXT_SERVICE_NAME, context.substring(20)); } else { return new BindInfo(JBOSS_CONTEXT_SERVICE_NAME, context.substring(11)); return new BindInfo(contextServiceNameOfApplication(app), context.substring(9)); } else if (namespace.equals("module")) { return new BindInfo(contextServiceNameOfModule(app, module), context.substring(12)); } else if (namespace.equals("comp")) { return new BindInfo(contextServiceNameOfComponent(app, module, comp), context.substring(10)); } else { return new BindInfo(JBOSS_CONTEXT_SERVICE_NAME, context);
throw MESSAGES.illegalContextInName(jndiName); return new BindInfo(parentContextName, bindName);
throw NamingLogger.ROOT_LOGGER.illegalContextInName(jndiName); return new BindInfo(parentContextName, bindName);