[ 
http://issues.apache.org/jira/browse/HIVEMIND-111?page=comments#action_64049 ]
     
Knut Wannheden commented on HIVEMIND-111:
-----------------------------------------

If you want to make sure a HiveMind service of yours is started as soon as the 
Registry has been constructed then register it with hivemind.EagerLoad (see 
http://jakarta.apache.org/hivemind/hivemind/EagerLoad.html).  If it's not a 
service you want created then hivemind.Startup is the right place.

I suppose you could spawn new threads within the Runnable you register with 
hivemind.Startup.

If it's OK with you I'll go ahead and close this issue again.

> StartupImpl.java - not starting a thread
> ----------------------------------------
>
>          Key: HIVEMIND-111
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-111
>      Project: HiveMind
>         Type: Bug
>   Components: framework
>     Versions: 1.1
>     Reporter: Tomas Knappek

>
> Class org.apache.hivemind.impl.StartupImpl contains the command r.run() on 
> line 38, I think it should be r.start() because the current implemention just 
> run the method "run"   instead of starting new thread. Otherwise I don't see 
> any point to use the Runnable interface.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to