private EJBClientDescriptorMetaData parse(final File file, final XMLMapper mapper) throws DeploymentUnitProcessingException { final FileInputStream fis; try { fis = new FileInputStream(file); } catch (FileNotFoundException e) { throw EeLogger.ROOT_LOGGER.failedToProcessEJBClientDescriptor(e); } try { return parse(fis, file, mapper); } finally { safeClose(fis); } }
throw EeLogger.ROOT_LOGGER.failedToProcessEJBClientDescriptor(e); final EJBClientDescriptorMetaData ejbClientDescriptorMetaData = parse(ejbClientDeploymentDescriptorFile, mapper); EeLogger.ROOT_LOGGER.debugf("Successfully parsed jboss-ejb-client.xml for deployment unit %s", deploymentUnit);
private EJBClientDescriptorMetaData parse(final File file, final DeploymentUnit deploymentUnit, final ModuleLoader moduleLoader) throws DeploymentUnitProcessingException { final FileInputStream fis; try { fis = new FileInputStream(file); } catch (FileNotFoundException e) { throw EeMessages.MESSAGES.failedToProcessEJBClientDescriptor(e); } try { return parse(fis, file, deploymentUnit, moduleLoader); } finally { safeClose(fis); } }
private EJBClientDescriptorMetaData parse(final File file, final XMLMapper mapper) throws DeploymentUnitProcessingException { final FileInputStream fis; try { fis = new FileInputStream(file); } catch (FileNotFoundException e) { throw EeLogger.ROOT_LOGGER.failedToProcessEJBClientDescriptor(e); } try { return parse(fis, file, mapper); } finally { safeClose(fis); } }
private EJBClientDescriptorMetaData parse(final File file, final XMLMapper mapper) throws DeploymentUnitProcessingException { final FileInputStream fis; try { fis = new FileInputStream(file); } catch (FileNotFoundException e) { throw EeLogger.ROOT_LOGGER.failedToProcessEJBClientDescriptor(e); } try { return parse(fis, file, mapper); } finally { safeClose(fis); } }
throw EeMessages.MESSAGES.failedToProcessEJBClientDescriptor(e); final EJBClientDescriptorMetaData ejbClientDescriptorMetaData = parse(ejbClientDeploymentDescriptorFile, deploymentUnit, moduleLoader); EeLogger.ROOT_LOGGER.debugf("Successfully parsed jboss-ejb-client.xml for deployment unit %s", deploymentUnit);
throw EeLogger.ROOT_LOGGER.failedToProcessEJBClientDescriptor(e); final EJBClientDescriptorMetaData ejbClientDescriptorMetaData = parse(ejbClientDeploymentDescriptorFile, mapper); EeLogger.ROOT_LOGGER.debugf("Successfully parsed jboss-ejb-client.xml for deployment unit %s", deploymentUnit);
throw EeLogger.ROOT_LOGGER.failedToProcessEJBClientDescriptor(e); final EJBClientDescriptorMetaData ejbClientDescriptorMetaData = parse(ejbClientDeploymentDescriptorFile, mapper); EeLogger.ROOT_LOGGER.debugf("Successfully parsed jboss-ejb-client.xml for deployment unit %s", deploymentUnit);