public static ReadOnlyBeanLocalNotifier getReadOnlyBeanLocalNotifier(
String ejbName)
{
try {
Context ctx = new InitialContext();
ReadOnlyEJBLocalHome home =
(ReadOnlyEJBLocalHome) ctx.lookup(ejbName);
return home.getReadOnlyBeanLocalNotifier();
} catch (Exception ex) {
if(_logger.isLoggable(Level.SEVERE)) {
_logger.log(Level.SEVERE, "entitybean.container.remote_exception",ex);
}
}