Package org.jboss.jca.common.metadata.ra.ra16

Examples of org.jboss.jca.common.metadata.ra.ra16.Activationspec16


                  //building and returning object

                  if (configPropertyIgnore != null || configPropertySupportsDynamicUpdates != null ||
                      configPropertyConfidential != null)
                  {
                     return new ConfigProperty16Impl(description, configPropertyName, configPropertyType,
                                                     configPropertyValue, configPropertyIgnore,
                                                     configPropertySupportsDynamicUpdates,
                                                     configPropertyConfidential, id);
                  }
                  else
View Full Code Here


                  //building and returning object

                  if (configPropertyIgnore != null || configPropertySupportsDynamicUpdates != null ||
                      configPropertyConfidential != null)
                  {
                     return new ConfigProperty16Impl(description, configPropertyName, configPropertyType,
                                                     configPropertyValue, configPropertyIgnore,
                                                     configPropertySupportsDynamicUpdates,
                                                     configPropertyConfidential, id);
                  }
                  else
View Full Code Here

    private static XsdString str(String str) {
        return new XsdString(str, null);
    }

    private static ConfigProperty16 simpleProperty(String name, String type, String value) {
        return new ConfigProperty16Impl(EMPTY_LOCL, str(name), str(type), str(value), Boolean.FALSE, Boolean.FALSE, Boolean.FALSE, null, null);
    }
View Full Code Here

            String attachedClassName = annotation.getClassName();
            Class attachedClass = Class.forName(attachedClassName, true, classLoader);

            if (hasInterface(attachedClass, "javax.resource.spi.ResourceAdapter"))
            {
               ConfigProperty16 cfgMeta = new ConfigProperty16Impl(descriptions, configPropertyName,
                                                                   configPropertyType,
                                                                   configPropertyValue, configPropertyIgnore,
                                                                   configPropertySupportsDynamicUpdates,
                                                                   configPropertyConfidential, null);
               if (valueMap.get(Metadatas.RA) == null)
               {
                  valueMap.put(Metadatas.RA, new ArrayList<ConfigProperty16>());
               }
               valueMap.get(Metadatas.RA).add(cfgMeta);
            }
            else
            {
               ConfigProperty16 cfgMeta = new ConfigProperty16Impl(descriptions, configPropertyName,
                                                                   configPropertyType,
                                                                   configPropertyValue, configPropertyIgnore,
                                                                   configPropertySupportsDynamicUpdates,
                                                                   configPropertyConfidential, null,
                                                                   attachedClassName);
View Full Code Here

            if (original instanceof ConfigProperty16)
            {
               ConfigProperty16 c16 = (ConfigProperty16) c;
               XsdString newValue = new XsdString(ijProperties.get(c.getConfigPropertyName().getValue()), c
                  .getConfigPropertyName().getId());
               ConfigProperty16 newProp = new ConfigProperty16Impl(c.getDescriptions(), c.getConfigPropertyName(),
                                                                   c.getConfigPropertyName(), newValue,
                                                                   c16.getConfigPropertyIgnore(),
                                                                   c16.getConfigPropertySupportsDynamicUpdates(),
                                                                   c16.getConfigPropertyConfidential(), c.getId());
               mergedProperties.add(newProp);
View Full Code Here

    private static XsdString str(String str) {
        return new XsdString(str, null);
    }

    private static ConfigProperty16 simpleProperty(String name, String type, String value) {
        return new ConfigProperty16Impl(EMPTY_LOCL, str(name), str(type), str(value), Boolean.FALSE, Boolean.FALSE, Boolean.FALSE, null, null);
    }
View Full Code Here

            String attachedClassName = annotation.getClassName();
            Class attachedClass = Class.forName(attachedClassName, true, classLoader);

            if (hasInterface(attachedClass, "javax.resource.spi.ResourceAdapter"))
            {
               ConfigProperty16 cfgMeta = new ConfigProperty16Impl(descriptions, configPropertyName,
                                                                   configPropertyType,
                                                                   configPropertyValue, configPropertyIgnore,
                                                                   configPropertySupportsDynamicUpdates,
                                                                   configPropertyConfidential, null);
               if (valueMap.get(Metadatas.RA) == null)
               {
                  valueMap.put(Metadatas.RA, new ArrayList<ConfigProperty16>());
               }
               valueMap.get(Metadatas.RA).add(cfgMeta);
            }
            else
            {
               ConfigProperty16 cfgMeta = new ConfigProperty16Impl(descriptions, configPropertyName,
                                                                   configPropertyType,
                                                                   configPropertyValue, configPropertyIgnore,
                                                                   configPropertySupportsDynamicUpdates,
                                                                   configPropertyConfidential, null,
                                                                   attachedClassName);
View Full Code Here

                  description.trimToSize();
                  displayName.trimToSize();
                  requiredWorkContext.trimToSize();

                  //building and returning object
                  return new Connector16(moduleName, description, displayName, icon, vendorName, eisType,
                        resourceadapterVersion, license, resourceadapter, requiredWorkContext, metadataComplete, id);

               }
               else
               {
View Full Code Here

         if (connector.getVersion() == Version.V_16)
         {
            List<String> requiredWorkContexts = null;
            boolean metadataComplete = false;

            Connector newConnector = new Connector16Impl(moduleName, vendorName, eisType, resourceadapterVersion,
                                                         license, resourceadapter, requiredWorkContexts,
                                                         metadataComplete, description, displayNames, icons, id);

            return newConnector.merge(connector);
         }
         else if (connector.getVersion() == Version.V_15)
         {
            Connector newConnector = new Connector15Impl(vendorName, eisType, resourceadapterVersion, license,
                                                         resourceadapter, description, displayNames, icons, id);

            return newConnector.merge(connector);
         }
         else
            throw new IllegalArgumentException("version= " + connector.getVersion().name());
      }
View Full Code Here

                  icon.trimToSize();
                  description.trimToSize();
                  displayName.trimToSize();
                  requiredWorkContext.trimToSize();
                  //building and returning object
                  return new Connector16Impl(moduleName, vendorName, eisType, resourceadapterVersion, license,
                        resourceadapter, requiredWorkContext, metadataComplete, description, displayName, icon, id);

               }
               else
               {
View Full Code Here

TOP

Related Classes of org.jboss.jca.common.metadata.ra.ra16.Activationspec16

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.