public final class EnableMessagingSecurity extends Object implements OfflineCommand, OnlineCommand
NOOPNOOP| Constructor and Description |
|---|
EnableMessagingSecurity()
Enable security in the default messaging server.
|
EnableMessagingSecurity(String serverName)
Enable security in the specified messaging server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(OfflineCommandContext ctx) |
void |
apply(OnlineCommandContext ctx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringtoStringpublic EnableMessagingSecurity()
public EnableMessagingSecurity(String serverName)
serverName - name of the messaging serverpublic void apply(OfflineCommandContext ctx) throws CommandFailedException, IOException
apply in interface OfflineCommandCommandFailedExceptionIOExceptionpublic void apply(OnlineCommandContext ctx) throws Exception
apply in interface OnlineCommandExceptionCopyright © 2021. All rights reserved.