Hi,
Is there anyway to create singleton MBean in JBoss?
public class SingleDevice
{
private static SingleDevice _instance;
public static synchronized SingleDevice getInstance()
{
if ( _instance == null )
_instance = new SingleDevice()
return _instance;
}
private SingleDevice(){}
}
Thanks.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838241#3838241
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838241
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development