avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (RUNTIME-31) Components not initialized when got from ServiceManager
Date Tue, 08 Jun 2004 11:58:56 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/RUNTIME-31

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: RUNTIME-31
    Summary: Components not initialized when got from ServiceManager
       Type: Bug

     Status: Open
   Priority: Major

    Project: Merlin Runtime Platform
   Versions:
             3.3.0

   Assignee: Stephen McConnell
   Reporter: syvalta

    Created: Tue, 8 Jun 2004 4:57 AM
    Updated: Tue, 8 Jun 2004 4:57 AM
Environment: All

Description:
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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


Mime
View raw message