Interface EmbeddedAdminContainer
-
- All Superinterfaces:
EmbeddedContainer
- All Known Implementing Classes:
EmbeddedAdminCtrImpl
@Contract public interface EmbeddedAdminContainer extends EmbeddedContainer
Container for administrative tasks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 usersparams
- 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
-
-