Package org.jboss.metadata.common.jboss

Examples of org.jboss.metadata.common.jboss.WebserviceDescriptionsMetaData


    * @param jseArchiveMD universal JSE meta data model
    * @param jbossWebMD jboss web meta data
    */
   private void setConfigNameAndFile(final JSEArchiveMetaData jseArchiveMD, final JBossWebMetaData jbossWebMD)
   {
      final WebserviceDescriptionsMetaData wsDescriptionsMD = jbossWebMD.getWebserviceDescriptions();
      final WebserviceDescriptionMetaData wsDescriptionMD = ASHelper.getWebserviceDescriptionMetaData(wsDescriptionsMD);
      if (wsDescriptionMD != null)
      {
         if (wsDescriptionMD.getConfigName() != null)
         {
View Full Code Here


         return;
      }

      // set context root
      String contextRoot = webservicesMD.getContextRoot();
      final WebserviceDescriptionsMetaData wsDescriptionsMD = webservicesMD.getWebserviceDescriptions();

      if (wsDescriptionsMD != null)
      {
         // set wsdl location resolver
         final PublishLocationAdapter resolver = new PublishLocationAdapterImpl(wsDescriptionsMD);
View Full Code Here

   public String getConfigName()
   {
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return null;
      WebserviceDescriptionsMetaData descriptions = webservices.getWebserviceDescriptions();
      if (descriptions == null)
         return null;
      // Return the last one (regardless of whether it is null and previous ones weren't)
      // since that is what the old broken code did (compatibility! :-)
      String result = null;
View Full Code Here

   public String getConfigFile()
   {
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return null;
      WebserviceDescriptionsMetaData descriptions = webservices.getWebserviceDescriptions();
      if (descriptions == null)
         return null;
      // Return the last one (regardless of whether it is null and previous ones weren't)
      // since that is what the old broken code did (compatibility! :-)
      String result = null;
View Full Code Here

      // We have to return an empty map like the old code, even when there is nothing
      Map<String, String> result = new LinkedHashMap<String, String>();
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return result;
      WebserviceDescriptionsMetaData descriptions = webservices.getWebserviceDescriptions();
      if (descriptions == null)
         return result;

      // The old code didn't check for null wsdl location, so neither does this
      for (WebserviceDescriptionMetaData description : descriptions)
View Full Code Here

   public String getWsdlPublishLocationByName(String name)
   {
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return null;
      WebserviceDescriptionsMetaData descriptions = webservices.getWebserviceDescriptions();
      if (descriptions == null)
         return null;
      WebserviceDescriptionMetaData description = descriptions.get(name);
      if (description == null)
         return null;
      return description.getWsdlPublishLocation();
   }
View Full Code Here

   }
  
   public List<WebserviceDescription> getWebserviceDescriptions()
   {
      List<WebserviceDescription> tmp = new ArrayList<WebserviceDescription>();
      WebserviceDescriptionsMetaData descriptions = wmd.getWebserviceDescriptions();
      Iterator<WebserviceDescriptionMetaData> wdmdIter = descriptions.iterator();
      while( wdmdIter.hasNext() )
      {
         WebserviceDescriptionMetaData wdmd = wdmdIter.next();
         WebserviceDescription wd = new WebserviceDescription(wdmd);
         tmp.add(wd);
View Full Code Here

   }
  
   public List<WebserviceDescription> getWebserviceDescriptions()
   {
      List<WebserviceDescription> tmp = new ArrayList<WebserviceDescription>();
      WebserviceDescriptionsMetaData descriptions = wmd.getWebserviceDescriptions();
      Iterator<WebserviceDescriptionMetaData> wdmdIter = descriptions.iterator();
      while( wdmdIter.hasNext() )
      {
         WebserviceDescriptionMetaData wdmd = wdmdIter.next();
         WebserviceDescription wd = new WebserviceDescription(wdmd);
         tmp.add(wd);
View Full Code Here

   public String getConfigName()
   {
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return null;
      WebserviceDescriptionsMetaData descriptions = webservices.getWebserviceDescriptions();
      if (descriptions == null)
         return null;
      // Return the last one (regardless of whether it is null and previous ones weren't)
      // since that is what the old broken code did (compatibility! :-)
      String result = null;
View Full Code Here

   public String getConfigFile()
   {
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return null;
      WebserviceDescriptionsMetaData descriptions = webservices.getWebserviceDescriptions();
      if (descriptions == null)
         return null;
      // Return the last one (regardless of whether it is null and previous ones weren't)
      // since that is what the old broken code did (compatibility! :-)
      String result = null;
View Full Code Here

TOP

Related Classes of org.jboss.metadata.common.jboss.WebserviceDescriptionsMetaData

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.