[forge-dev] [JBoss JIRA] Created: (SEAMFORGE-262) Create some base classes for plugin development

Jason Porter (JIRA) jira-events at lists.jboss.org
Wed Jul 27 03:06:23 EDT 2011

Create some base classes for plugin development

                 Key: SEAMFORGE-262
                 URL: https://issues.jboss.org/browse/SEAMFORGE-262
             Project: Seam Forge
          Issue Type: Enhancement
          Components: Plugin API
    Affects Versions: 1.0.0.Alpha4
            Reporter: Jason Porter
            Priority: Minor

There are some core actions a plugin that creates Java classes must do, such as get the current package. Actions like this should be on an abstract base class such as JavaSourceCreationPluginBase (maybe something shorter?) which would also implement Plugin (so we don't break existing plugins) that will have these methods baked in so each plugin doesn't end up copying the code from somewhere else. If Java had mixins this would be a perfect fit, alas, it does not and we're stuck with something else.

The class would probably have to have some abstract getter methods that the subclass would have to implement to get common things like the project.

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


More information about the forge-dev mailing list