|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.api.admin.AdminCommandContext
public class AdminCommandContext
Useful services for administrative commands implementation
| Field Summary | |
|---|---|
java.util.logging.Logger |
logger
|
ActionReport |
report
|
| Constructor Summary | |
|---|---|
AdminCommandContext(java.util.logging.Logger logger,
ActionReport report)
|
|
AdminCommandContext(java.util.logging.Logger logger,
ActionReport report,
Payload.Inbound inboundPayload,
Payload.Outbound outboundPayload)
|
|
| Method Summary | |
|---|---|
ActionReport |
getActionReport()
Returns the Reporter for this action |
Payload.Inbound |
getInboundPayload()
Returns the inbound payload, from the admin client, that accompanied the command request. |
java.util.logging.Logger |
getLogger()
Returns the Logger |
Payload.Outbound |
getOutboundPayload()
Returns a reference to the outbound payload so a command implementation can populate the payload for return to the admin client. |
void |
setActionReport(ActionReport newReport)
Change the Reporter for this action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ActionReport report
public final java.util.logging.Logger logger
| Constructor Detail |
|---|
public AdminCommandContext(java.util.logging.Logger logger,
ActionReport report)
public AdminCommandContext(java.util.logging.Logger logger,
ActionReport report,
Payload.Inbound inboundPayload,
Payload.Outbound outboundPayload)
| Method Detail |
|---|
public ActionReport getActionReport()
public void setActionReport(ActionReport newReport)
newReport - The ActionReport to set.public java.util.logging.Logger getLogger()
getLogger in interface ExecutionContextpublic Payload.Inbound getInboundPayload()
public Payload.Outbound getOutboundPayload()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||