[jboss-jira] [JBoss JIRA] (JBJCA-759) ResourceAdapter vs. Serializable

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Fri Mar 9 11:28:36 EST 2012


Jesper Pedersen created JBJCA-759:
-------------------------------------

             Summary: ResourceAdapter vs. Serializable
                 Key: JBJCA-759
                 URL: https://issues.jboss.org/browse/JBJCA-759
             Project: IronJacamar
          Issue Type: Task
          Components: Code Generator
            Reporter: Jesper Pedersen
            Assignee: Jeff Zhang


We should add an option to let the ResourceAdapter class implement Serializable.

Resource adapter class name [AcmeResourceAdapter]: 
Should the resource adapter class be Serializable (Y/Yes/N/No) [N]:
Resource adapter config properties [enter to quit]: 


If the answer is "Y" then let the ResourceAdapter class implement the java.io.Serializable interface and set a serialVersionUID field to 1L.

If the answer is "N" then do

{code}
private transient ResourceAdapter ra;
{code}

for all objects that implements ResourceAdapterAssociation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list