glassfish
  1. glassfish
  2. GLASSFISH-19239

EE7: Connector or Custom Resource Definition

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0_b76_EE7MS5
    • Component/s: jca
    • Labels:
      None

      Description

      This RFE is for implementing Java EE 7 section EE.5.19.7, "Connector or Custom Resource Definition" in GlassFish.

        Activity

        Hide
        Jagadish added a comment -

        Transferring the issue to Dapeng who is implementing the feature.
        Note : Connector Resource is applicable here.
        Custom Resource may not be applicable here. Discussions have started around custom resource sometime back.

        Show
        Jagadish added a comment - Transferring the issue to Dapeng who is implementing the feature. Note : Connector Resource is applicable here. Custom Resource may not be applicable here. Discussions have started around custom resource sometime back.
        Hide
        dapeng_hu added a comment -

        In the Connector MR, the annotation @ConnectorResourceDefinition will be changed to the new annotation @ConnectorConnectionFactoryDefinition. Below is its new definition.

        @Documented
        @Target(

        {ElementType.TYPE}

        )
        @Retention(RetentionPolicy.RUNTIME)
        public @interface ConnectorConnectionFactoryDefinition {
        String name();
        String description() default "";
        String resourceAdapterName();
        String connectionFactoryInterfaceName();
        TransactionSupport.TransactionSupportLevel transactionSupport()
        default TransactionSupport.TransactionSupportLevel.NoTransaction;
        int maxPoolSize() default -1;
        int minPoolSize() default -1;
        String[] properties() default {};
        }

        The new draft of connector MR completed internal discussion. It will be sent out to EG in a few days.

        Show
        dapeng_hu added a comment - In the Connector MR, the annotation @ConnectorResourceDefinition will be changed to the new annotation @ConnectorConnectionFactoryDefinition. Below is its new definition. @Documented @Target( {ElementType.TYPE} ) @Retention(RetentionPolicy.RUNTIME) public @interface ConnectorConnectionFactoryDefinition { String name(); String description() default ""; String resourceAdapterName(); String connectionFactoryInterfaceName(); TransactionSupport.TransactionSupportLevel transactionSupport() default TransactionSupport.TransactionSupportLevel.NoTransaction; int maxPoolSize() default -1; int minPoolSize() default -1; String[] properties() default {}; } The new draft of connector MR completed internal discussion. It will be sent out to EG in a few days.
        Show
        Sivakumar Thyagarajan added a comment - - edited The final MR spec and javadoc describes the new annotations. http://java.net/projects/connector-spec/downloads/download/connector-1_7-spec-final.pdf http://java.net/projects/connector-spec/downloads/download/connector-1_7-javadoc-final.zip
        Hide
        dapeng_hu added a comment -

        Add code change to support the annotation @ConnectionFactoryDefinition

        Show
        dapeng_hu added a comment - Add code change to support the annotation @ConnectionFactoryDefinition

          People

          • Assignee:
            dapeng_hu
            Reporter:
            Tom Mueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: