org.glassfish.internal.embedded.admin
Interface EmbeddedAdminContainer

All Superinterfaces:
EmbeddedContainer

@Contract
public interface EmbeddedAdminContainer
extends EmbeddedContainer

Container for administrative tasks.


Method Summary
 void bind(Port port)
          Make the server listen to administrative requests (CLI, REST) on the passed port.
 CommandExecution execute(String commandName, CommandParameters params)
          Executes synchronously a command
 
Methods inherited from interface org.glassfish.internal.embedded.EmbeddedContainer
bind, getSniffers, start, stop
 

Method Detail

execute

CommandExecution execute(String commandName,
                         CommandParameters params)
Executes synchronously a command

Parameters:
commandName - command name as typed by asadmin users
params - command parameters
Returns:
an command excecution to follow command's execution

bind

void bind(Port port)
Make the server listen to administrative requests (CLI, REST) on the passed port.

Parameters:
port - an initialized port


Copyright © 2012 GlassFish Community. All Rights Reserved.