Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
4501ea62
Commit
4501ea62
authored
Jan 27, 2021
by
Andre Freyssinet
Browse files
Adds an INFO message in log with Joram version.
Adds a JMX attribute.
parent
4eb76a89
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
joram/joram/client/jms/src/main/java/org/objectweb/joram/client/jms/local/LocalConnections.java
View file @
4501ea62
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2009 ScalAgent Distributed Technologies
* Copyright (C) 2009
- 2021
ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -91,6 +91,10 @@ public class LocalConnections implements LocalConnectionsMBean {
public
String
getMBeanName
()
{
return
MBEAN_NAME
;
}
public
String
getVersion
()
{
return
ConnectionManager
.
version
;
}
public
int
getFailedLoginCount
()
{
return
failedLoginCount
;
...
...
joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/proxies/ConnectionManager.java
View file @
4501ea62
This diff is collapsed.
Click to expand it.
joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/proxies/ConnectionManagerMBean.java
View file @
4501ea62
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2009 ScalAgent Distributed Technologies
* Copyright (C) 2009
- 2021
ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -25,7 +25,11 @@ package org.objectweb.joram.mom.proxies;
* Adds JMX monitoring for a connection manager.
*/
public
interface
ConnectionManagerMBean
{
/**
* Gets the name of the MBean.
*/
public
String
getVersion
();
/**
* Closes all opened connections.
*/
...
...
joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/proxies/tcp/TcpProxyService.java
View file @
4501ea62
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 202
0
ScalAgent Distributed Technologies
* Copyright (C) 2001 - 202
1
ScalAgent Distributed Technologies
* Copyright (C) 1996 - 2000 Dyade
*
* This library is free software; you can redistribute it and/or
...
...
@@ -168,6 +168,10 @@ public class TcpProxyService implements TcpProxyServiceMBean {
return
serverSocket
;
}
public
String
getVersion
()
{
return
ConnectionManager
.
version
;
}
/**
* Initializes the TCP entry point by creating a server socket listening
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment