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
2196ebf1
Commit
2196ebf1
authored
Jul 09, 2020
by
Andre Freyssinet
Browse files
Minor changes.
parent
0d19fc01
Changes
1
Hide whitespace changes
Inline
Side-by-side
joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/dest/Destination.java
View file @
2196ebf1
...
...
@@ -221,12 +221,12 @@ public abstract class Destination extends Agent implements DestinationMBean {
/**
* Finalizes the agent before it is garbaged.
*
* @param last
ime
true if the destination is deleted
* @param last true if the destination is deleted
*/
public
void
agentFinalize
(
boolean
last
Time
)
{
public
void
agentFinalize
(
boolean
last
)
{
if
(
task
!=
null
)
task
.
cancel
();
finalize
(
last
Time
);
finalize
(
last
);
try
{
MXWrapper
.
unregisterMBean
(
getMBeanName
());
...
...
@@ -234,15 +234,15 @@ public abstract class Destination extends Agent implements DestinationMBean {
if
(
logger
.
isLoggable
(
BasicLevel
.
DEBUG
))
logger
.
log
(
BasicLevel
.
DEBUG
,
"Destination.agentFinalize"
,
exc
);
}
super
.
agentFinalize
(
last
Time
);
super
.
agentFinalize
(
last
);
}
/**
* Finalizes the destination before it is garbaged.
*
* @param last
ime
true if the destination is deleted
* @param last true if the destination is deleted
*/
protected
abstract
void
finalize
(
boolean
last
Time
);
protected
abstract
void
finalize
(
boolean
last
);
public
String
getMBeanName
()
{
StringBuffer
strbuf
=
new
StringBuffer
();
...
...
Write
Preview
Markdown
is supported
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