Examples of ActivationConfigPropertyMetaData


Examples of org.jboss.metadata.ActivationConfigPropertyMetaData

   void checkActivationConfig(String name, String value)
   {
      if (value != null && properties.containsKey(name) == false)
      {
         org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData md = new org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData();
         ActivationConfigPropertyMetaData metaData = new ActivationConfigPropertyMetaData(md);
         md.setName(name);
         md.setValue(value);
         properties.put(name, metaData);
      }
   }
View Full Code Here

Examples of org.jboss.metadata.ActivationConfigPropertyMetaData

            Constructor<?> constructor = returnClass.getConstructor(c);
            return (ActivationConfigPropertyMetaData) constructor.newInstance(instance);
        }
        catch (final ClassNotFoundException e)
        {
            return new ActivationConfigPropertyMetaData(key, value);
        }
        catch (final InstantiationException e)
        {
            throw new RuntimeException("Could not instantiate an instance of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData", e);
        }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData

    * @return the property or null if not found
    */
   protected static String getActivationConfigProperty(
         ActivationConfigPropertiesMetaData properties, String name)
   {
      ActivationConfigPropertyMetaData property = properties.get(name);
      if (property == null)
         return null;
      return property.getValue();
   }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData

  
   protected void addActivationSpecProperty(Map<String, ActivationConfigPropertyMetaData> result, ActivationConfigProperty property)
   {
      if (!property.propertyName().equals("messagingType"))
      {
         ActivationConfigPropertyMetaData metaData = new ActivationConfigPropertyMetaData();
         metaData.setName(property.propertyName());
         metaData.setValue(property.propertyValue());  
         result.put(property.propertyName(), metaData);
      }
   }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData

     super.initializePool();
   }
  
   protected String getProviderAdapterJNDI()
   {
      ActivationConfigPropertyMetaData property = (ActivationConfigPropertyMetaData)getActivationConfigProperties().get(PROVIDER_ADAPTER_JNDI);
      if (property != null)
         return property.getValue();
      return "java:/DefaultJMSProvider";
   }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData

      return "java:/DefaultJMSProvider";
   }
  
   protected String getMaxSession()
   {
      ActivationConfigPropertyMetaData property = (ActivationConfigPropertyMetaData)getActivationConfigProperties().get(MAX_SESSION);
      if (property != null)
         return property.getValue();
      return null;
   }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData

      return null;
   }
  
   protected String getDestination()
   {
      ActivationConfigPropertyMetaData property = (ActivationConfigPropertyMetaData)getActivationConfigProperties().get(DESTINATION);
      if (property != null)
         return property.getValue();
      return null;
   }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData

      return null;
   }
  
   protected String getDestinationType()
   {
      ActivationConfigPropertyMetaData property = (ActivationConfigPropertyMetaData)getActivationConfigProperties().get(DESTINATION_TYPE);
      if (property != null)
         return property.getValue();
      return null;
   }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData

  
   protected void addActivationSpecProperty(Map<String, ActivationConfigPropertyMetaData> result, ActivationConfigProperty property)
   {
      if (!property.propertyName().equals("messagingType"))
      {
         ActivationConfigPropertyMetaData metaData = new ActivationConfigPropertyMetaData();
         metaData.setName(property.propertyName());
         metaData.setValue(replaceVariables(property.propertyName(), property.propertyValue()));  
         result.put(property.propertyName(), metaData);
      }
   }
View Full Code Here

Examples of org.jboss.metadata.ejb.spec.ActivationConfigPropertyMetaData

     super.initializePool();
   }
  
   protected String getProviderAdapterJNDI()
   {
      ActivationConfigPropertyMetaData property = (ActivationConfigPropertyMetaData)getActivationConfigProperties().get(PROVIDER_ADAPTER_JNDI);
      if (property != null)
         return property.getValue();
      return "java:/DefaultJMSProvider";
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.