[jboss-jira] [JBoss JIRA] Resolved: (JBBOOT-44) Provide option to create default server configuration in ServerFactory

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Mon Apr 20 22:54:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBBOOT-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lee Rubinger resolved JBBOOT-44.
---------------------------------------

    Resolution: Won't Fix


Resolving as "Won't Fix" as this is low-priority now.  We don't presently have many implementations of a Server Config, so choosing one for the factory is a non-issue.  The true problem, having no default configuration, is effectively solved by way of JBBOOT-45.

> Provide option to create default server configuration in ServerFactory
> ----------------------------------------------------------------------
>
>                 Key: JBBOOT-44
>                 URL: https://jira.jboss.org/jira/browse/JBBOOT-44
>             Project: JBoss Bootstrap
>          Issue Type: Feature Request
>          Components: spi
>            Reporter: Andrew Lee Rubinger
>            Assignee: Andrew Lee Rubinger
>             Fix For: 0.1.2
>
>
> Jesper notes:
> server = ServerFactory.createServer("org.jboss.bootstrap.impl.mc.server.MCServerImpl", classLoader);
> config = server.getConfiguration();
> config.bootstrapHome("something"): // << NPE
> ...because the configuration is not provided.  Make:
> server = ServerFactory.createServer("org.jboss.bootstrap.impl.mc.server.MCServerImpl", "fqn.Config.Object",classLoader);
> ...to create a default configuration.

-- 
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