[jboss-dev] Re: New integration project
Adrian
abrock at redhat.com
Mon Jul 9 10:00:13 EDT 2007
You shouldn't need to be doing that yourself,
you should be using the Barrier Service:
http://wiki.jboss.org/wiki/Wiki.jsp?page=BarrierController
On Mon, 2007-07-09 at 14:42 +0100, Jonathan Halliday wrote:
> Adrian wrote:
>
> >> org.jboss.system.server.Server;
> >
> > Why?
>
> final NotificationFilterSupport notificationFilter
> = new NotificationFilterSupport();
>
> notificationFilter.enableType(Server.START_NOTIFICATION_TYPE);
>
> final ObjectName serverName =
> ObjectNameFactory.create("jboss.system:type=Server");
> getServer().addNotificationListener(serverName, this,
> notificationFilter, null);
>
> Jonathan.
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
More information about the jboss-development
mailing list