org.springframework.jmx.export.metadata.JmxAttributeSource Java Examples

The following examples show how to use org.springframework.jmx.export.metadata.JmxAttributeSource. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MetadataNamingStrategy.java    From spring-analysis-note with MIT License 4 votes vote down vote up
/**
 * Set the implementation of the {@code JmxAttributeSource} interface to use
 * when reading the source-level metadata.
 */
public void setAttributeSource(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #2
Source File: AnnotationMetadataAssemblerTests.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
@Override
protected JmxAttributeSource getAttributeSource() {
	return new AnnotationJmxAttributeSource();
}
 
Example #3
Source File: MetadataNamingStrategy.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
/**
 * Set the implementation of the {@code JmxAttributeSource} interface to use
 * when reading the source-level metadata.
 */
public void setAttributeSource(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #4
Source File: MetadataNamingStrategy.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Set the implementation of the {@code JmxAttributeSource} interface to use
 * when reading the source-level metadata.
 */
public void setAttributeSource(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #5
Source File: AnnotationMetadataAssemblerTests.java    From java-technology-stack with MIT License 4 votes vote down vote up
@Override
protected JmxAttributeSource getAttributeSource() {
	return new AnnotationJmxAttributeSource();
}
 
Example #6
Source File: MetadataMBeanInfoAssembler.java    From java-technology-stack with MIT License 4 votes vote down vote up
private JmxAttributeSource obtainAttributeSource() {
	Assert.state(this.attributeSource != null, "No JmxAttributeSource set");
	return this.attributeSource;
}
 
Example #7
Source File: MetadataNamingStrategy.java    From java-technology-stack with MIT License 4 votes vote down vote up
/**
 * Set the implementation of the {@code JmxAttributeSource} interface to use
 * when reading the source-level metadata.
 */
public void setAttributeSource(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #8
Source File: AnnotationMetadataAssemblerTests.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@Override
protected JmxAttributeSource getAttributeSource() {
	return new AnnotationJmxAttributeSource();
}
 
Example #9
Source File: MetadataMBeanInfoAssembler.java    From spring-analysis-note with MIT License 4 votes vote down vote up
private JmxAttributeSource obtainAttributeSource() {
	Assert.state(this.attributeSource != null, "No JmxAttributeSource set");
	return this.attributeSource;
}
 
Example #10
Source File: MetadataNamingStrategy.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Create a new {@code MetadataNamingStrategy} for the given
 * {@code JmxAttributeSource}.
 * @param attributeSource the JmxAttributeSource to use
 */
public MetadataNamingStrategy(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #11
Source File: MetadataNamingStrategy.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Create a new {@code MetadataNamingStrategy} for the given
 * {@code JmxAttributeSource}.
 * @param attributeSource the JmxAttributeSource to use
 */
public MetadataNamingStrategy(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #12
Source File: MetadataMBeanInfoAssembler.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Set the {@code JmxAttributeSource} implementation to use for
 * reading the metadata from the bean class.
 * @see org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource
 */
public void setAttributeSource(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #13
Source File: MetadataMBeanInfoAssembler.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Create a new {@code MetadataMBeanInfoAssembler} for the given
 * {@code JmxAttributeSource}.
 * @param attributeSource the JmxAttributeSource to use
 */
public MetadataMBeanInfoAssembler(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #14
Source File: MetadataMBeanInfoAssembler.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Create a new {@code MetadataMBeanInfoAssembler} for the given
 * {@code JmxAttributeSource}.
 * @param attributeSource the JmxAttributeSource to use
 */
public MetadataMBeanInfoAssembler(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #15
Source File: MetadataNamingStrategy.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * Create a new {@code MetadataNamingStrategy} for the given
 * {@code JmxAttributeSource}.
 * @param attributeSource the JmxAttributeSource to use
 */
public MetadataNamingStrategy(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #16
Source File: MetadataMBeanInfoAssembler.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Set the {@code JmxAttributeSource} implementation to use for
 * reading the metadata from the bean class.
 * @see org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource
 */
public void setAttributeSource(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #17
Source File: MetadataMBeanInfoAssembler.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Create a new {@code MetadataMBeanInfoAssembler} for the given
 * {@code JmxAttributeSource}.
 * @param attributeSource the JmxAttributeSource to use
 */
public MetadataMBeanInfoAssembler(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #18
Source File: MetadataMBeanInfoAssembler.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * Set the {@code JmxAttributeSource} implementation to use for
 * reading the metadata from the bean class.
 * @see org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource
 */
public void setAttributeSource(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #19
Source File: MetadataNamingStrategy.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Create a new {@code MetadataNamingStrategy} for the given
 * {@code JmxAttributeSource}.
 * @param attributeSource the JmxAttributeSource to use
 */
public MetadataNamingStrategy(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #20
Source File: MetadataMBeanInfoAssembler.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Set the {@code JmxAttributeSource} implementation to use for
 * reading the metadata from the bean class.
 * @see org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource
 */
public void setAttributeSource(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #21
Source File: MetadataMBeanInfoAssembler.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * Create a new {@code MetadataMBeanInfoAssembler} for the given
 * {@code JmxAttributeSource}.
 * @param attributeSource the JmxAttributeSource to use
 */
public MetadataMBeanInfoAssembler(JmxAttributeSource attributeSource) {
	Assert.notNull(attributeSource, "JmxAttributeSource must not be null");
	this.attributeSource = attributeSource;
}
 
Example #22
Source File: AbstractMetadataAssemblerAutodetectTests.java    From java-technology-stack with MIT License votes vote down vote up
protected abstract JmxAttributeSource getAttributeSource(); 
Example #23
Source File: AbstractMetadataAssemblerTests.java    From java-technology-stack with MIT License votes vote down vote up
protected abstract JmxAttributeSource getAttributeSource(); 
Example #24
Source File: AbstractMetadataAssemblerTests.java    From spring-analysis-note with MIT License votes vote down vote up
protected abstract JmxAttributeSource getAttributeSource(); 
Example #25
Source File: AbstractMetadataAssemblerAutodetectTests.java    From spring-analysis-note with MIT License votes vote down vote up
protected abstract JmxAttributeSource getAttributeSource(); 
Example #26
Source File: AbstractMetadataAssemblerTests.java    From spring4-understanding with Apache License 2.0 votes vote down vote up
protected abstract JmxAttributeSource getAttributeSource(); 
Example #27
Source File: AbstractMetadataAssemblerAutodetectTests.java    From spring4-understanding with Apache License 2.0 votes vote down vote up
protected abstract JmxAttributeSource getAttributeSource();