[jboss-jira] [JBoss JIRA] Created: (JBBOOT-38) Split SPI Abstract Base Classes into spi-base Project

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Apr 14 07:52:22 EDT 2009


Split SPI Abstract Base Classes into spi-base Project
-----------------------------------------------------

                 Key: JBBOOT-38
                 URL: https://jira.jboss.org/jira/browse/JBBOOT-38
             Project: JBoss Bootstrap
          Issue Type: Task
          Components: spi, spi-base
    Affects Versions: 0.1.0
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger
             Fix For: 0.1.1


Putting implementation classes directly upon the ClassPath (==extension CL) requires that all dependencies are there as well, else NCDFE.  Separate out the SPI base implementations from the interfaces such that we're left with a minimal dependency set:

[INFO] [dependency:tree]
[INFO] org.jboss.bootstrap:jboss-bootstrap-spi:jar:0.1.1-SNAPSHOT

>From here we may introduce some Factory classes to return an implementation via reflection:

public static Server createServer()
{
  return Class.forName(serverImplClassName).newInstance();
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list