org.wildfly.extras.creaper.commands.messaging
Class EnableMessagingSecurity

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.messaging.EnableMessagingSecurity
All Implemented Interfaces:
Command, OfflineCommand, OnlineCommand

public final class EnableMessagingSecurity
extends Object
implements OfflineCommand, OnlineCommand

Enable security in messaging subsystem.


Field Summary
 
Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
NOOP
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Constructor Summary
EnableMessagingSecurity()
          Enable security in the default messaging server.
EnableMessagingSecurity(String serverName)
          Enable security in the specified messaging server.
 
Method Summary
 void apply(OfflineCommandContext ctx)
           
 void apply(OnlineCommandContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
toString
 
Methods inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
toString
 

Constructor Detail

EnableMessagingSecurity

public EnableMessagingSecurity()
Enable security in the default messaging server.


EnableMessagingSecurity

public EnableMessagingSecurity(String serverName)
Enable security in the specified messaging server. NOT YET IMPLEMENTED FOR OFFLINE!

Parameters:
serverName - name of the messaging server
Method Detail

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.