Skip to content

Commit 941a766

Browse files
committed
pom: remove grizzly-framework-monitoring jar as dependency
Motivation: grizzly framework can dynamically enable JMX monitoring when grizzly-framework-monitoring.jar in the classpath. Thus application can enable monitoring by explicitly defining dependency on it if needed. Modification: remove grizzly-framework-monitoring jar as dependency Result: a final application can decide to depend on grizzly-framework-monitoring if JMX monitoring is required. Acked-by: Olufemi Adeyemi Target: master
1 parent 9bd3d49 commit 941a766

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,13 @@ OncRpcSvc service = new OncRpcSvcBuilder()
305305
.build();
306306
```
307307

308+
## Enabling JMX based monitoring
309+
310+
**oncrpc4j** uses [Grizzly NIO](https://github.com/eclipse-ee4j/grizzly) framework which
311+
comes with it's own JMX monitoring capabilities. To enable it just add `grizzly-framework-monitoring`
312+
jar with it's dependencies into the application's classpath.
313+
See [Grizzly framework dependencies](https://javaee.github.io/grizzly/dependencies.html) for the instructions.
314+
308315
## Usage with JDK 9 module system
309316

310317
With the provided stable automatic module name __org.dcache.oncrpc4j__, **oncrpc4j**

oncrpc4j-core/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@
3838
<groupId>org.glassfish.grizzly</groupId>
3939
<artifactId>grizzly-framework</artifactId>
4040
</dependency>
41-
<dependency>
42-
<groupId>org.glassfish.grizzly</groupId>
43-
<artifactId>grizzly-framework-monitoring</artifactId>
44-
</dependency>
4541
<dependency>
4642
<groupId>com.google.guava</groupId>
4743
<artifactId>guava</artifactId>

pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,6 @@
219219
<artifactId>grizzly-framework</artifactId>
220220
<version>${grizzly-framework.version}</version>
221221
</dependency>
222-
<dependency>
223-
<groupId>org.glassfish.grizzly</groupId>
224-
<artifactId>grizzly-framework-monitoring</artifactId>
225-
<version>${grizzly-framework.version}</version>
226-
</dependency>
227222
<dependency>
228223
<groupId>org.springframework</groupId>
229224
<artifactId>spring-context</artifactId>

0 commit comments

Comments
 (0)