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