@Override public String getName() { return javaeeModule.getName(); }
@Override protected String getJavaContextDescription() { return javaEEModule.getName(); } }
public String getName() { return module.getName(); } };
/** * Get app jndi name. * * @param businessInterface the business interface * @return the name within the app name space */ protected String getAppJNDIName(Class<?> businessInterface) { JavaEEModule module = bean.getModule(); return module.getName() + "/" + getModuleJNDIName(businessInterface); }
public SimpleCompJndiBinder(DeploymentUnit deploymentUnit, JavaEEModule javaEEModule) { super(javaEEModule.getApplication()!=null?javaEEModule.getApplication().getName():null, javaEEModule.getName()); this.deploymentUnit = deploymentUnit; }
public JavaEEModuleJndiBinder(JavaEEModule javaEEModule) { super(javaEEModule.getApplication() != null? javaEEModule.getApplication().getName(): null, javaEEModule.getName()); this.javaEEModule = javaEEModule; }
@Override public void start() throws Exception { NamingServer srv = new NamingServer(); context = new NamingContext(nameSpaces.getGlobalContext().getEnvironment(), null, srv); log.debug("Installed context " + context + " for JavaEE component " + name + " in module " + module.getName()); }
public JavaEEComponentJndiBinder(JavaEEComponent javaEEComponent) { super(getApplicationForComponent(javaEEComponent) != null? getApplicationForComponent(javaEEComponent).getName(): null, javaEEComponent.getModule().getName()); this.javaEEComponent = javaEEComponent; }