StandardContext.java 文件源码

java
阅读 30 收藏 0 点赞 0 评论 0

项目:lams 作者:
public MBeanNotificationInfo[] getNotificationInfo() {
    // FIXME: i18n
    if(notificationInfo == null) {
        notificationInfo = new MBeanNotificationInfo[]{
                new MBeanNotificationInfo(new String[] {
                "j2ee.object.created"},
    Notification.class.getName(),
    "web application is created"
                ), 
    new MBeanNotificationInfo(new String[] {
    "j2ee.state.starting"},
    Notification.class.getName(),
    "change web application is starting"
    ),
    new MBeanNotificationInfo(new String[] {
    "j2ee.state.running"},
    Notification.class.getName(),
    "web application is running"
    ),
    new MBeanNotificationInfo(new String[] {
    "j2ee.state.stopped"},
    Notification.class.getName(),
    "web application start to stopped"
    ),
    new MBeanNotificationInfo(new String[] {
    "j2ee.object.stopped"},
    Notification.class.getName(),
    "web application is stopped"
    ),
    new MBeanNotificationInfo(new String[] {
    "j2ee.object.deleted"},
    Notification.class.getName(),
    "web application is deleted"
    )
        };

    }

    return notificationInfo;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号