[nanocontainer-scm] [jira] Created: (NANO-110) allow self-registration of container instance via script

jira-yCVjj/[email protected] Wed, 24 Nov 2004 11:15:11 -0500 (EST)
Newsgroups gmane.comp.java.nanocontainer.cvs
Message-ID <[email protected]>
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/NANO-110

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-110
    Summary: allow self-registration of container instance via script
       Type: Improvement

     Status: Unassigned
   Priority: Major

 Original Estimate: 2 days
 Time Spent: Unknown
  Remaining: 2 days

    Project: NanoContainer
 Components: 
             core

   Assignee: 
   Reporter: Obie Fernandez

    Created: Wed, 24 Nov 2004 11:13 AM
    Updated: Wed, 24 Nov 2004 11:13 AM

Description:
As discussed with Aslak and Paul (11/23/2004)...

We agreed there are cases where it is desirable for PicoContainer to self-register itself and become available for injection into child components. The guard code that used to prevent this operation from being done manually has been removed by Paul (see PICO-226).

Instead of introducing a ContainerExposingPicoContainer into Pico and having to specify it as the container-implementation, we will add an optional register-self attribute to the scripting system. This attribute will cause nano to register the container within itself.

Example:

&lt;container register-self=true&gt;
  &lt;component-implementation class='org.nanocontainer.testmodel.DefaultWebServerConfig'/&gt; ...


---------------------------------------------------------------------
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/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira