org.wildfly.extras.creaper.commands.messaging
Class SetMessagingClusterPassword
java.lang.Object
org.wildfly.extras.creaper.commands.messaging.SetMessagingClusterPassword
- All Implemented Interfaces:
- Command, OfflineCommand, OnlineCommand
public final class SetMessagingClusterPassword
- extends Object
- implements OfflineCommand, OnlineCommand
Set cluster password.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetMessagingClusterPassword
public SetMessagingClusterPassword(String password)
- Set cluster password in the default messaging server.
- Parameters:
password - password to be set
SetMessagingClusterPassword
public SetMessagingClusterPassword(String password,
String serverName)
- Set cluster password in the specified messaging server. NOT YET
IMPLEMENTED FOR OFFLINE!
- Parameters:
password - password to be setserverName - name of the messaging server
apply
public void apply(OfflineCommandContext ctx)
throws CommandFailedException,
IOException
- Specified by:
apply in interface OfflineCommand
- Throws:
CommandFailedException
IOException
apply
public void apply(OnlineCommandContext ctx)
throws Exception
- Specified by:
apply in interface OnlineCommand
- Throws:
Exception
Copyright © 2016. All rights reserved.