Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=PNIX-22 Here is an overview of the issue: --------------------------------------------------------------------- Key: PNIX-22 Summary: PhoenixConfig Application Creator Type: New Feature Status: Assigned Priority: Major Time Spent: Unknown Estimate: 0 minutes Project: phoenix Fix Fors: 5.0 Versions: 4.1 Assignee: Peter Donald Reporter: Peter Donald Created: Sat, 5 Apr 2003 10:02 PM Updated: Sat, 5 Apr 2003 10:02 PM Description: Phoenix needs to have a flexible mechanism for creating Application objects. To do this we can have an interface to build the Application that accepts a map of key-value pairs. The key-value pairs would be specific to each different container type. To help work with Phoenix containers we could create a PhoenixConfig that had a simple facade to set key-values. A sample run PhoenixConfig config = new PhoenixConfig(); config.setAssembly( "resource://ldapd/server/assembly.xml" ); config.setConfig( "resource://ldapd/server/config.xml" ); config.set...; Map map = config.toMap(); Application container = (Application)ContainerFactory.create( map ); ...application running... MyBlock block = (MyBlock)container.getBlock( someName ); block.doMagic(); ...application running... ContainerFactory.destroy( container ); --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
