Issue #1893 Switch machine to be LOCAL instead of using RuntimeMXBean

Former-commit-id: aa7aa88ee5 [formerly 26b8938242] [formerly d727b93273] [formerly d0070fcec4 [formerly d727b93273 [formerly f9eb42deebaab88fb9f1bbee54537e62acdc72fa]]]
Former-commit-id: d0070fcec4
Former-commit-id: b0644c1ff0d4582d8483cacd6d9b031f086c5bb9 [formerly 0ac1b41eeb]
Former-commit-id: 3c48093ab4
This commit is contained in:
Ben Steffensmeier 2013-04-10 14:08:05 -05:00
parent 212dd227cc
commit 593b2db92e

View file

@ -48,6 +48,8 @@ import com.raytheon.uf.common.status.UFStatus.Priority;
* Nov 11,2010 2235 cjeanbap Added attribute, audioFile.
* Feb 7,2011 6329 rferrel Checks to make sure details
* and message are never null.
* Apr 10, 2013 1893 bsteffen Switch machine to be LOCAL instead of
* using RuntimeMXBean
*
* </pre>
*
@ -63,6 +65,8 @@ public class StatusMessage implements ISerializableObject, IMessage {
private static final int MAX_MESSAGE_LENGTH = 1024;
private static final String LOCAL = "LOCAL";
/**
* The source of the message
*/
@ -161,7 +165,7 @@ public class StatusMessage implements ISerializableObject, IMessage {
this.category = category;
this.priority = priority;
this.plugin = plugin;
this.setMachineToCurrent();
this.setMachine(LOCAL);
buildMessageAndDetails(message, throwable, this);
}