Class FakeRuntimeMXBean

  • All Implemented Interfaces:
    RuntimeMXBean

    class FakeRuntimeMXBean
    extends java.lang.Object
    implements RuntimeMXBean
    No-op implementation of RuntimeMXBean when the platform doesn't provide it.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getInputArguments()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FakeRuntimeMXBean

        FakeRuntimeMXBean()
    • Method Detail

      • getInputArguments

        public java.util.List<java.lang.String> getInputArguments()

        Always returns an empty list.

        Specified by:
        getInputArguments in interface RuntimeMXBean
        See Also:
        RuntimeMXBean.getInputArguments()