| Package | Description |
|---|---|
| com.sun.enterprise.admin.remote | |
| org.glassfish.admin.payload | |
| org.glassfish.api.admin |
Admin commands in GlassFish
|
| Modifier and Type | Class and Description |
|---|---|
static class |
RestPayloadImpl.Inbound |
| Modifier and Type | Class and Description |
|---|---|
class |
InputStreamInboundPayload
Implementation of a Payload.Inbound that works with InputStreams
Usage is like this:
CommandRunner.CommandInvocation ci =
commandRunner.getCommandInvocation("some-command", areport, theSubject);
InputStreamPayload in = new InputStreamInboundPayload();
// get an InputStream is from somewhere
in.addStream("someoption", is)
// get another InputStream for the operand
in.addStream("DEFAULT", is)
ParameterMap map = new ParameterMap();
// populate map with other options
ci.inbound(in).parameters(map).execute();
|
static class |
PayloadImpl.Inbound
Partial implementation of the Inbound interface.
|
static class |
TextPayloadImpl.Inbound |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
PayloadFilesManager.processParts(Payload.Inbound inboundPayload)
Returns all Files extracted from the Payload, treating each Part as a
separate file.
|
Map<File,Properties> |
PayloadFilesManager.processPartsExtended(Payload.Inbound inboundPayload)
Returns all Files extracted from the Payload, treating each Part as a
separate file, via a Map from each File to its associated Properties.
|
| Modifier and Type | Method and Description |
|---|---|
Payload.Inbound |
AdminCommandContext.getInboundPayload()
Returns the inbound payload, from the admin client, that accompanied
the command request.
|
Payload.Inbound |
AdminCommandContextForInstance.getInboundPayload() |
Payload.Inbound |
AdminCommandContextImpl.getInboundPayload() |
| Modifier and Type | Method and Description |
|---|---|
CommandRunner.CommandInvocation |
CommandRunner.CommandInvocation.inbound(Payload.Inbound inbound)
Sets the data carried with the request (could be an attachment)
|
void |
AdminCommandContext.setInboundPayload(Payload.Inbound newInboundPayload)
Changes the inbound payload for this action.
|
void |
AdminCommandContextForInstance.setInboundPayload(Payload.Inbound newInboundPayload) |
void |
AdminCommandContextImpl.setInboundPayload(Payload.Inbound newInboundPayload) |
| Constructor and Description |
|---|
AdminCommandContextImpl(Logger logger,
ActionReport report,
Payload.Inbound inboundPayload,
Payload.Outbound outboundPayload,
AdminCommandEventBroker eventBroker,
String jobId) |
Copyright © 2017. All rights reserved.