[switchyard-issues] [JBoss JIRA] Created: (SWITCHYARD-356) Use of enum for ResourceType restricts extensibility

Keith Babo (JIRA) jira-events at lists.jboss.org
Wed Jul 20 16:03:23 EDT 2011


Use of enum for ResourceType restricts extensibility
----------------------------------------------------

                 Key: SWITCHYARD-356
                 URL: https://issues.jboss.org/browse/SWITCHYARD-356
             Project: SwitchYard
          Issue Type: Bug
          Components: common, configuration
            Reporter: Keith Babo
            Assignee: David Ward
             Fix For: 0.2


Use of the ResourceType enum in the Resource config model restricts extensibility by requiring a change to core to support different resource types.  For example, let's say I add a BPEL component and want to use the resource config model to point to a BPEL process definition.  In order to make this work, I would also have to modify core to augment the enum to include a BPEL type.  Making the type value a string should alleviate this problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list