org.ow2.jasmine.monitoring.mbeancmd.sampling
Class SLBSampler

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler
      extended by org.ow2.jasmine.monitoring.mbeancmd.sampling.SessionBeanSampler
          extended by org.ow2.jasmine.monitoring.mbeancmd.sampling.SLBSampler

public class SLBSampler
extends SessionBeanSampler

Sampler for retrieving data from stateless session beans.


Field Summary
 
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler
context, logger
 
Constructor Summary
SLBSampler(SamplerContext context)
          Implementation of inherited method.
 
Method Summary
 String getDefaultOnPattern()
          Implementation of inherited abstract method.
protected  void pollSessionBean(ObjectName on, SessionBeanData data)
          Polls one stateless bean provider for data.
 
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SessionBeanSampler
newSampleData, poll, pollSessionBeans
 
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler
getCmdId, getDomain, getJmxUrl, getMBeanServerConnection, getName, getOnPattern, getServer, isHasFailed, queryON, releaseMbeanServerConnection, sample, setHasFailed, setOnPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLBSampler

public SLBSampler(SamplerContext context)
Implementation of inherited method.

See Also:
Sampler#Sampler(String)
Method Detail

getDefaultOnPattern

public String getDefaultOnPattern()
Implementation of inherited abstract method.

Specified by:
getDefaultOnPattern in class SessionBeanSampler
Returns:
Default Object name filtering pattern for this sampler. If null, we'll consider that the Sampler doesn't have one default object name filter.
See Also:
Sampler#getDefaultOn()

pollSessionBean

protected void pollSessionBean(ObjectName on,
                               SessionBeanData data)
Polls one stateless bean provider for data.

Specified by:
pollSessionBean in class SessionBeanSampler
Parameters:
on - Name of the provider.
data - SLBData to add polled information to.


Copyright © 2012 OW2 Consortium. All Rights Reserved.