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

  A new issue has been created in JIRA.

View the issue:

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

   Assignee: Stephen McConnell
   Reporter: syvalta

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

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:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org

View raw message