Examples of MonitoredObjectType


Examples of com.sun.enterprise.admin.monitor.registry.MonitoredObjectType


        private MonitoredObjectType
    getEJBMonitoredObjectType()
    {
        MonitoredObjectType type    = MonitoredObjectType.NONE;
       
        final Class<? extends BaseContainer>  thisClass = this.getClass();
       
        if ( StatelessSessionContainer.class.isAssignableFrom( thisClass ) )
        {
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.MonitoredObjectType

   
    public void registerCLBStats(String nodeName, Stats statsImpl,
            Class statsInterface) throws MonitoringRegistrationException {

        final StatsHolder clbStats = getCLBMonitoringStatsHolder();
        MonitoredObjectType moType = MonitoredObjectType.
                newMonitoredObjectType(nodeName, false);
        final StatsHolder moNode = clbStats.addChild(nodeName, moType);
        assert (moNode != null) :
            "MRH:registerStats - Initialization failed for " + nodeName;
        moNode.setObjectName(MonitoringObjectNames.
                getMonitoredObjectName(moType.getTypeName()));
        moNode.setDottedName(DottedNameFactory.
                getDottedName(moType.getTypeName(), clbStats.getName()));
        moNode.setStats(statsImpl);
        moNode.setStatsClass(statsInterface);
        logger.log(Level.INFO, "clb.created_clb_monitoring_node",
                new Object[]{nodeName});
    }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.MonitoredObjectType

        it is added as a child under sip-service(getSipStatsHolder.addChild(..)) inorder
        to enable or disable monitoring based on the monitoring level. This monitoring level
        check if changed dynamically is done in MonitoringConfigChangeListener class ,
        else with in the same class by shouldRegisterMBeans() method.*/

        MonitoredObjectType moType = MonitoredObjectType.newMonitoredObjectType(id, false);
        StatsHolder sips = getSipStatsHolder();
        final StatsHolder moNode = sips.addChild(id, moType);
        moNode.setObjectName(MonitoringObjectNames.getMonitoredObjectName(nodeName, sips.getName(), id));
        moNode.setDottedName(DottedNameFactory.getDottedName(nodeName, sips.getName(), id));
        moNode.setStats(statsImpl);
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.MonitoredObjectType

        if (statsImpl == null) {
            throw new IllegalArgumentException("registerStats  - null stats provided");
        }
        final StatsHolder sips = getSipStatsHolder();
        MonitoredObjectType moType = MonitoredObjectType.newMonitoredObjectType(nodeName, false);
        final StatsHolder moNode = sips.addChild(nodeName, moType);
        assert (moNode != null) : "MRH:registerStats - Initialization failed for " + nodeName;
        moNode.setObjectName(MonitoringObjectNames.getMonitoredObjectName(moType.getTypeName()));
        moNode.setDottedName(DottedNameFactory.getDottedName(moType.getTypeName(), sips.getName()));
        moNode.setStats(statsImpl);
        moNode.setStatsClass(statsImpl.getInterfaceClass());
        if (logger.isLoggable(Level.FINE)) {
            logger.fine(nodeName + " stats is registered");
        }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.MonitoredObjectType

    protected abstract EjbMonitoringStatsProvider getMonitoringStatsProvider(
            String appName, String modName, String ejbName);

    private MonitoredObjectType getEJBMonitoredObjectType()
    {
        MonitoredObjectType type    = MonitoredObjectType.NONE;
        /*TODO
        final Class<? extends BaseContainer>  thisClass = this.getClass();
       
        if ( StatelessSessionContainer.class.isAssignableFrom( thisClass ) )
        {
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.MonitoredObjectType

    protected abstract EjbMonitoringStatsProvider getMonitoringStatsProvider(
            String appName, String modName, String ejbName);

    private MonitoredObjectType getEJBMonitoredObjectType()
    {
        MonitoredObjectType type    = MonitoredObjectType.NONE;
        /*TODO
        final Class<? extends BaseContainer>  thisClass = this.getClass();
       
        if ( StatelessSessionContainer.class.isAssignableFrom( thisClass ) )
        {
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.MonitoredObjectType

    protected abstract EjbMonitoringStatsProvider getMonitoringStatsProvider(
            String appName, String modName, String ejbName);

    private MonitoredObjectType getEJBMonitoredObjectType()
    {
        MonitoredObjectType type    = MonitoredObjectType.NONE;
        /*TODO
        final Class<? extends BaseContainer>  thisClass = this.getClass();
       
        if ( StatelessSessionContainer.class.isAssignableFrom( thisClass ) )
        {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.