{
throw new IllegalStateException("invoke called prior to mbean server being set");
}
try
{
NameBasedInvocation nbi = (NameBasedInvocation) invocation.getParameter();
String methodName = nbi.getMethodName();
Object args [] = nbi.getParameters();
String signature [] = nbi.getSignature();
String sessionId = invocation.getSessionId();
// this method is called by a polling client for notifications
if(methodName.equals("$GetNotifications$")) //FIXME- JGH: make this a little better
{