Permalink
Browse files

cleanup

  • Loading branch information...
1 parent dcdde6b commit cc485d9afe21664a33890f956307ab6f47ad750e @tcurdt committed Aug 23, 2010
View
@@ -1,24 +1,24 @@
# Bridge
// export JMX beans either through Spring, Guice or jmxutils
- final MBeanExporter exporter = new MBeanExporter(ManagementFactory.getPlatformMBeanServer());
- exporter.export("bean:name=test1", new TestBeanImpl());
+ final MBeanExporter exporter = new MBeanExporter(ManagementFactory.getPlatformMBeanServer());
+ exporter.export("bean:name=test1", new TestBeanImpl());
// fire up JMX
- final JmxServer jmxServer = new JmxServer(InetAddress.getByName("localhost"));
- jmxServer.start();
+ final JmxServer jmxServer = new JmxServer(InetAddress.getByName("localhost"));
+ jmxServer.start();
// load mib mapping
- final URL url = JmxutilsTestCase.class.getResource("/org/vafer/jmx2snmp/mapping.properties");
- final JmxMib jmxMib = new JmxMib();
- jmxMib.load(new FileReader(url.getFile()));
+ final URL url = JmxutilsTestCase.class.getResource("/org/vafer/jmx2snmp/mapping.properties");
+ final JmxMib jmxMib = new JmxMib();
+ jmxMib.load(new FileReader(url.getFile()));
// build MBean index
final JmxIndex = new JmxIndex();
- // fire up SNMP bridge
- final SnmpBridge snmpBridge = new SnmpBridge(InetAddress.getByName("localhost"), 1161, jmxIndex, jmxMib);
- snmpBridge.start();
+ // fire up SNMP bridge
+ final SnmpBridge snmpBridge = new SnmpBridge(InetAddress.getByName("localhost"), 1161, jmxIndex, jmxMib);
+ snmpBridge.start();
// show inconsistencies in the mapping (if there are)
snmpBridge.report();
Binary file not shown.
@@ -1 +0,0 @@
-fc3b1d8112585ec2f7174447b5694f51
@@ -1 +0,0 @@
-fc5438e70947582ed184b566ef30c84822755a68
@@ -1,58 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>mt.jmx</groupId>
- <artifactId>jmxutils</artifactId>
- <packaging>jar</packaging>
- <version>1.2.2</version>
- <name>jmxutils</name>
- <url>http://github.com/martint/jmxutils</url>
-
- <licenses>
- <license>
- <name>Apache License 2</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <scm>
- <connection>scm:git:git://github.com:martint/jmxutils.git</connection>
- <developerConnection>scm:git:git://github.com:martint/jmxutils.git</developerConnection>
- <url>http://github.com/martint/jmxutils/tree/master</url>
- </scm>
-
- <dependencies>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>5.6</version>
- <scope>test</scope>
- <classifier>jdk15</classifier>
- </dependency>
-
- <dependency>
- <groupId>com.thoughtworks.paranamer</groupId>
- <artifactId>paranamer</artifactId>
- <version>2.1</version>
- </dependency>
-
- <dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
- <version>2.0</version>
- <scope>compile</scope>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>com.google.inject.extensions</groupId>
- <artifactId>guice-multibindings</artifactId>
- <version>2.0</version>
- <scope>compile</scope>
- <optional>true</optional>
- </dependency>
- </dependencies>
-
-</project>
@@ -1 +0,0 @@
-cccf9592dbf47b8d8f78090881052d58
@@ -1 +0,0 @@
-62120e915f2b8db9f900dd9e0bafdc8a1f8a96e1
View
@@ -114,7 +114,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
- <version>1.2.1</version>
+ <version>1.4</version>
<executions>
<execution>
<phase>package</phase>

0 comments on commit cc485d9

Please sign in to comment.