Interface DIManager
- All Superinterfaces:
AdminAware, AgentGridComponent, DiscoverableComponent, GridComponent, LogProviderGridComponent, MachineAware, OperatingSystemAware, TransportAware, VirtualMachineAware, ZoneAware
- All Known Subinterfaces:
InternalDIManager
- All Known Implementing Classes:
DefaultDIManager
A DI-Manager grid component: a DI-Manager process that has registered itself with the XAP
lookup service and is discoverable/monitorable through the Admin API, the same way a
GridServiceManager or GridServiceContainer
is - reporting the machine/OS/JVM it is running on and providing access to its own log.
A DI-Manager is usually GSA-managed (launched via services=DIMANAGER), in which case
AgentGridComponent.getGridServiceAgent() returns that GridServiceAgent
and AgentGridComponent.kill()/AgentGridComponent.restart() are supported through it. Discovery also accepts an
externally registered DI-Manager not launched by any GSA - for that case
AgentGridComponent.getGridServiceAgent() returns null and AgentGridComponent.kill()/AgentGridComponent.restart()
necessarily throw AdminException, since there is no agent to
perform the operation.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the base REST URL DI-Manager is reachable on.Returns the DI-Manager component version.voidsetLogLevel(String logger, String level) Sets the level of the given Log4j2 logger on DI-Manager.Methods inherited from interface AdminAware
getAdminMethods inherited from interface AgentGridComponent
getAgentId, getGridServiceAgent, kill, restartMethods inherited from interface DiscoverableComponent
isDiscoveredMethods inherited from interface GridComponent
getUidMethods inherited from interface LogProviderGridComponent
logEntries, logEntriesDirectMethods inherited from interface MachineAware
getMachineMethods inherited from interface OperatingSystemAware
getOperatingSystemMethods inherited from interface TransportAware
getTransportMethods inherited from interface VirtualMachineAware
getVirtualMachine