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

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

public class JCACFSampler
extends Sampler

Sampler for JCA Connection Factories.


Field Summary
 
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler
context, logger
 
Constructor Summary
JCACFSampler(SamplerContext context)
          Implementation of inherited method.
 
Method Summary
 String getDefaultOnPattern()
          Implementation of inherited abstract method.
protected  SampleData newSampleData()
          Implementation of inherited abstract method.
protected  SampleData poll(SampleData data)
          Implementation of inherited abstract method.
 
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

JCACFSampler

public JCACFSampler(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 Sampler
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()

newSampleData

protected SampleData newSampleData()
Implementation of inherited abstract method.

Specified by:
newSampleData in class Sampler
Returns:
New sample data.
See Also:
Sampler.newSampleData()

poll

protected SampleData poll(SampleData data)
Implementation of inherited abstract method.

Specified by:
poll in class Sampler
Parameters:
data - Previous sample.
Returns:
Resulting data.
See Also:
Sampler.poll(SampleData), EntitySampler.pollEntities(XSampleData)


Copyright © 2012 OW2 Consortium. All Rights Reserved.