You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by ji...@codehaus.org on 2003/04/06 06:16:09 UTC
[jira] Updated: (PNIX-22) PhoenixConfig Application Creator
The following issue has been updated:
Updater: Peter Donald (mailto:peter@realityforge.org)
Date: Sat, 5 Apr 2003 10:15 PM
Changes:
description changed from 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 );
to 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 );
Fix Version changed from to 4.1
Fix Version changed from 5.0 to
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=PNIX-22&page=history
---------------------------------------------------------------------
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:
4.1
Versions:
4.1
Assignee: Peter Donald
Reporter: Peter Donald
Created: Sat, 5 Apr 2003 10:02 PM
Updated: Sat, 5 Apr 2003 10:15 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: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org