Bugs item #764529, was opened at 2003-07-02 11:55
Message generated for change (Comment added) made by rodburgett
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=764529&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Rod Burgett (rodburgett)
Assigned to: Nobody/Anonymous (nobody)
Summary: housekeeping in service controller and creator

Initial Comment:
This patch addresses housekeeping deficiencies in two 
classes from the org.jboss.system package.

The ServiceCreator class has no shutdown method but it 
does hold a reference to an MBeanServer that is 
initialized in it's constructor.  The service creator patch 
file adds a shutdown() method to null out this reference.

The shutdown method of the ServiceController walks 
through it's list of remaining deployed services, calling 
the remove() method for each one.  This approach 
truncates the normal life cycle of services and skips any 
cleanup operations that might performed in the stop() 
and destroy() methods for the service.  This patch adds 
calls to stop() and destroy() for each deployed service 
in the ServiceController.shutdown() loop.

Also, a new method is added to ServiceController, 
cleanupContext(), to perform some cleanup on a 
ServiceContext instance.  This method is called for each 
ServiceContext during the ServiceController.shutdown() 
loop.

Finally in the ServiceController, the previously empty 
postDeregister() method is updated to call the new 
ServiceCreator.shutdown() method and to null out 
references to several fields that were initialized by the 
preRegister() method.


----------------------------------------------------------------------

>Comment By: Rod Burgett (rodburgett)
Date: 2003-07-02 11:55

Message:
Logged In: YES 
user_id=681969

adding the other diff file...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=764529&group_id=22866


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to