public String getContextRoot() { return wmd.getContextRoot(); }
public String getContextRoot() { return wmd.getContextRoot(); }
/** * Get the webservice context root * * @return the context root */ public String getWebServiceContextRoot() { WebservicesMetaData webservices = getDelegate().getWebservices(); if (webservices == null) return null; return webservices.getContextRoot(); }
/** * Get the webservice context root * * @return the context root */ public String getWebServiceContextRoot() { WebservicesMetaData webservices = getDelegate().getWebservices(); if (webservices == null) return null; return webservices.getContextRoot(); }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbMetaData) { WebservicesMetaData wsMetaData = jbMetaData.getWebservices(); if (wsMetaData != null) { String contextRoot = wsMetaData.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(wsMetaData)); WebserviceDescriptionsMetaData wsDescriptions = wsMetaData.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbossMetaData) { WebservicesMetaData webservices = jbossMetaData.getWebservices(); if (webservices != null) { String contextRoot = webservices.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(webservices)); WebserviceDescriptionsMetaData wsDescriptions = webservices.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbMetaData) { WebservicesMetaData wsMetaData = jbMetaData.getWebservices(); if (wsMetaData != null) { String contextRoot = wsMetaData.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(wsMetaData)); WebserviceDescriptionsMetaData wsDescriptions = wsMetaData.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbMetaData) { WebservicesMetaData wsMetaData = jbMetaData.getWebservices(); if (wsMetaData != null) { String contextRoot = wsMetaData.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(wsMetaData)); WebserviceDescriptionsMetaData wsDescriptions = wsMetaData.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbossMetaData) { WebservicesMetaData webservices = jbossMetaData.getWebservices(); if (webservices != null) { String contextRoot = webservices.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(webservices)); WebserviceDescriptionsMetaData wsDescriptions = webservices.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbMetaData) { WebservicesMetaData wsMetaData = jbMetaData.getWebservices(); if (wsMetaData != null) { String contextRoot = wsMetaData.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(wsMetaData)); WebserviceDescriptionsMetaData wsDescriptions = wsMetaData.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbossMetaData) { WebservicesMetaData webservices = jbossMetaData.getWebservices(); if (webservices != null) { String contextRoot = webservices.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(webservices)); WebserviceDescriptionsMetaData wsDescriptions = webservices.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbMetaData) { WebservicesMetaData wsMetaData = jbMetaData.getWebservices(); if (wsMetaData != null) { String contextRoot = wsMetaData.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(wsMetaData)); WebserviceDescriptionsMetaData wsDescriptions = wsMetaData.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbossMetaData) { WebservicesMetaData webservices = jbossMetaData.getWebservices(); if (webservices != null) { String contextRoot = webservices.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(webservices)); WebserviceDescriptionsMetaData wsDescriptions = webservices.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
private void buildWebservicesMetaData(EJBArchiveMetaData ejbMetaData, JBossMetaData jbossMetaData) { WebservicesMetaData webservices = jbossMetaData.getWebservices(); if (webservices != null) { String contextRoot = webservices.getContextRoot(); ejbMetaData.setWebServiceContextRoot(contextRoot); ejbMetaData.setPublishLocationAdapter(getPublishLocationAdpater(webservices)); WebserviceDescriptionsMetaData wsDescriptions = webservices.getWebserviceDescriptions(); if (wsDescriptions != null) { if (wsDescriptions.size() > 1) log.warn("Multiple <webservice-description> elements not supported"); if (wsDescriptions.size() > 0) { WebserviceDescriptionMetaData wsd = wsDescriptions.iterator().next(); ejbMetaData.setConfigName(wsd.getConfigName()); ejbMetaData.setConfigFile(wsd.getConfigFile()); } } } }
final String contextRoot = webservicesMD.getContextRoot(); ejbArchiveMD.setWebServiceContextRoot(contextRoot); this.log.debug("Setting context root: " + contextRoot);
final String contextRoot = webservicesMD.getContextRoot(); ejbArchiveMD.setWebServiceContextRoot(contextRoot); this.log.debug("Setting context root: " + contextRoot);
String contextRoot = webservicesMD.getContextRoot(); final WebserviceDescriptionsMetaData wsDescriptionsMD = webservicesMD.getWebserviceDescriptions();