[jboss-jira] [JBoss JIRA] Created: (JBBOOT-8) Server interface extensions
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Wed Feb 4 21:25:44 EST 2009
Server interface extensions
---------------------------
Key: JBBOOT-8
URL: https://jira.jboss.org/jira/browse/JBBOOT-8
Project: JBoss Bootstrap
Issue Type: Feature Request
Reporter: Scott M Stark
Assignee: Scott M Stark
Fix For: 0.1.0
We need the ability to pass additional metadata to the Server implementation. A minimum change would be to extend the init method and provide a metadata accessor:
public interface Server
{
/**
* Initialize the Server instance.
*
* @param props The configuration properties for the server.
* @param metadata configuration metadata for the server
*
* @throws IllegalStateException Already initialized.
* @throws Exception Failed to initialize.
*/
void init(Properties props, Map<String, Object> metaData) throws IllegalStateException, Exception;
/**
* Get the optional server configuration metadata
* @return a possibly empty map of configuration metadata.
*/
Map<String, Object> getMetaData();
...
--
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