Package org.jboss.metadata.ejb.jboss

Examples of org.jboss.metadata.ejb.jboss.WebservicesMetaData


    * @param ejbArchiveMD universal EJB meta data model
    */
   private void buildWebservicesMetaData(final Deployment dep, final EJBArchiveMetaData ejbArchiveMD)
   {
      final JBossMetaData jbossMD = WSHelper.getRequiredAttachment(dep, JBossMetaData.class);
      final WebservicesMetaData webservicesMD = jbossMD.getWebservices();

      if (webservicesMD == null)
      {
         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


    *
    * @return the config name
    */
   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

    *
    * @return the config file
    */
   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

      return result;
   }

   public Webservices getWebservices()
   {
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return null;
      return new Webservices(webservices);
   }
View Full Code Here

    */
   public Map<String, String> getWsdlPublishLocations()
   {
      // 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

    * @param name the name
    * @return the location
    */
   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;
View Full Code Here

    *
    * @return the context root
    */
   public String getWebServiceContextRoot()
   {
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return null;
      return webservices.getContextRoot();
   }
View Full Code Here

    *
    * @return the config name
    */
   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

    *
    * @return the config file
    */
   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

      return result;
   }

   public Webservices getWebservices()
   {
      WebservicesMetaData webservices = getDelegate().getWebservices();
      if (webservices == null)
         return null;
      return new Webservices(webservices);
   }
View Full Code Here

TOP

Related Classes of org.jboss.metadata.ejb.jboss.WebservicesMetaData

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.