This rule flags the use of deprecated WebContainer MBean operation names:
These operations can be invoked on the WebContainer MBean.
The rule scans for the string literals "startTransports", "stopTransports", and "restartWebApplication". The strings are detected even when not being used on an invoke method since the operation name constants might be coded in different utility classes.
To migrate these operations, use the channel framework. The channel framework provides the TransportChannelService MBean, which is more flexible and has more methods than the current web container transport-related operations.
If you get false-positive results on this rule, you can use the Ignore Result option in the source scanner to prevent the same code from producing results again, or you can clear the rule selection.
See the following API specifications for more information:
The Deprecated features list is in the documentation.