This content has been marked as final.
Show 1 reply
-
1. Re: Inter-component communication
adrian.brock Mar 26, 2002 12:25 PM (in response to kmtong)I'm not sure why you need to use notifications for this.
JMX is already loosely bound. You just need a standard
name for the login service. e.g.
LoginInfo result = (LoginInfo) invoke(
new ObjectName("MyDomain:service=login"),
"login",
new Object[] {"Subject"},
new Class[] {String.class.getName()}
);
What you register at MyDomain:service=login
can change dynamically as long at is has a management
operation
LoginInfo login(String subject);
Regards,
Adrian