You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by "Niclas Hedhman (JIRA)" <de...@avalon.apache.org> on 2004/11/13 03:20:24 UTC

[jira] Closed: (RUNTIME-31) Components not initialized when got from ServiceManager

     [ http://nagoya.apache.org/jira/browse/RUNTIME-31?page=history ]
     
Niclas Hedhman closed RUNTIME-31:
---------------------------------


> Components not initialized when got from ServiceManager
> -------------------------------------------------------
>
>          Key: RUNTIME-31
>          URL: http://nagoya.apache.org/jira/browse/RUNTIME-31
>      Project: Merlin Runtime
>         Type: Bug
>     Versions: 3.3.0
>  Environment: All
>     Reporter: syvalta
>     Assignee: Stephen McConnell

>
> Getting component from ServiceManager doesn't initialize the component. For example:
> m_component = (Component) m_manager.lookup(Component.class.getName());
> After that component should be initialized (i.e. life-cycle methods called), but actually it is initialized only when it is actually accessed (for example m_component.doSomething()). For example, if a event listener is set up in initialize(), it actually won't be listening any events. There might be some reasons for lazy initialization, but as a user I see it as a source for problems difficult to track.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/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