Class NuggetAdminController
java.lang.Object
org.j7m.middleware.operations.runtime.NuggetAdminController
- All Implemented Interfaces:
AutoCloseable, org.j7m.middleware.operations.api.NuggetAdminService, org.j7m.middleware.operations.api.NuggetDiscoveryService
public final class NuggetAdminController
extends Object
implements org.j7m.middleware.operations.api.NuggetAdminService
Headless per-JVM nugget administration admission service.
The controller owns nugget identity, PIN verifier lifecycle, admission
throttling, safe status, local/configured discovery, and authentication audit.
It does not bind a network endpoint, parse CLI commands, perform remote
authentication, or grant authorization. Successful PIN admission and discovery
records remain separate from authorization and from ObjectRef routing
semantics.
-
Method Summary
Modifier and TypeMethodDescriptionorg.j7m.middleware.operations.api.NuggetAdminCommandResult<org.j7m.middleware.operations.api.NuggetAdminCapabilities> adminCapabilities(org.j7m.middleware.operations.api.NuggetAdminRequestContext context) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.ApplicationDetail> application(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, String applicationInstanceId) org.j7m.middleware.operations.api.NuggetApplicationLifecycle.ResultapplicationLifecycle(org.j7m.middleware.operations.api.NuggetApplicationLifecycle.Request request) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.ApplicationSummary>> applications(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.Query query) org.j7m.middleware.operations.api.NuggetAuthenticationResultauthenticate(org.j7m.middleware.operations.api.NuggetAuthenticationRequest request, char[] pin) voidclose()org.j7m.middleware.operations.api.NuggetDiscovery.Resultdiscover(org.j7m.middleware.operations.api.NuggetDiscovery.Query query) org.j7m.middleware.operations.api.NuggetDiscovery.StatusSummaryorg.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.DiskVolumeSummary>> disk(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.DiskQuery query) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.EnvironmentSummary> environment(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.HealthSummary> health(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.MetricsSummary> metrics(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) org.j7m.middleware.operations.api.NuggetControl.ResultnuggetControl(org.j7m.middleware.operations.api.NuggetControl.Request request) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.ObjectDetail> org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.ObjectSummary>> objects(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.Query query) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.Overview> overview(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.ReadinessSummary> readiness(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.RecentErrorEntry>> recentErrors(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.RecentErrorQuery query) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.RegistrySummary> registry(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.RepositorySummary> repository(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) org.j7m.middleware.operations.api.NuggetDiscovery.Resolutionresolve(org.j7m.middleware.operations.api.NuggetDiscovery.Selector selector) org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.RuntimeSummary> runtime(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) voidstart()Starts the headless administration lifecycle.static NuggetAdminControllerstart(org.j7m.middleware.api.RuntimeIdentity runtimeIdentity, NuggetAdminConfiguration configuration) Creates and starts a controller.static NuggetAdminControllerstart(org.j7m.middleware.api.RuntimeIdentity runtimeIdentity, NuggetAdminConfiguration configuration, Runnable runtimeCloseAction) Creates and starts a controller with an assembly-supplied runtime close action.org.j7m.middleware.operations.api.NuggetStatusstatus()org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.TransportSummary>> transports(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.Query query) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.j7m.middleware.operations.api.NuggetAdminService
adminCommand
-
Method Details
-
start
public static NuggetAdminController start(org.j7m.middleware.api.RuntimeIdentity runtimeIdentity, NuggetAdminConfiguration configuration) Creates and starts a controller.- Parameters:
runtimeIdentity- hosted runtime identityconfiguration- nugget admin configuration- Returns:
- started controller
-
start
public static NuggetAdminController start(org.j7m.middleware.api.RuntimeIdentity runtimeIdentity, NuggetAdminConfiguration configuration, Runnable runtimeCloseAction) Creates and starts a controller with an assembly-supplied runtime close action.- Parameters:
runtimeIdentity- hosted runtime identityconfiguration- nugget admin configurationruntimeCloseAction- authoritative runtime close action- Returns:
- started controller
-
start
public void start()Starts the headless administration lifecycle. -
status
public org.j7m.middleware.operations.api.NuggetStatus status()- Specified by:
statusin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
adminCapabilities
public org.j7m.middleware.operations.api.NuggetAdminCommandResult<org.j7m.middleware.operations.api.NuggetAdminCapabilities> adminCapabilities(org.j7m.middleware.operations.api.NuggetAdminRequestContext context) - Specified by:
adminCapabilitiesin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
authenticate
public org.j7m.middleware.operations.api.NuggetAuthenticationResult authenticate(org.j7m.middleware.operations.api.NuggetAuthenticationRequest request, char[] pin) - Specified by:
authenticatein interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
overview
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.Overview> overview(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) - Specified by:
overviewin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
environment
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.EnvironmentSummary> environment(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) - Specified by:
environmentin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
disk
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.DiskVolumeSummary>> disk(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.DiskQuery query) - Specified by:
diskin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
health
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.HealthSummary> health(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) - Specified by:
healthin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
readiness
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.ReadinessSummary> readiness(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) - Specified by:
readinessin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
runtime
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.RuntimeSummary> runtime(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) - Specified by:
runtimein interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
transports
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.TransportSummary>> transports(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.Query query) - Specified by:
transportsin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
registry
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.RegistrySummary> registry(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) - Specified by:
registryin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
repository
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.RepositorySummary> repository(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) - Specified by:
repositoryin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
applications
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.ApplicationSummary>> applications(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.Query query) - Specified by:
applicationsin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
application
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.ApplicationDetail> application(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, String applicationInstanceId) - Specified by:
applicationin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
objects
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.ObjectSummary>> objects(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.Query query) - Specified by:
objectsin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
object
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.ObjectDetail> object(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, String objectId) - Specified by:
objectin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
metrics
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.MetricsSummary> metrics(org.j7m.middleware.operations.api.NuggetIntrospection.Request request) - Specified by:
metricsin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
recentErrors
public org.j7m.middleware.operations.api.NuggetIntrospection.Result<org.j7m.middleware.operations.api.NuggetIntrospection.CollectionResult<org.j7m.middleware.operations.api.NuggetIntrospection.RecentErrorEntry>> recentErrors(org.j7m.middleware.operations.api.NuggetIntrospection.Request request, org.j7m.middleware.operations.api.NuggetIntrospection.RecentErrorQuery query) - Specified by:
recentErrorsin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
applicationLifecycle
public org.j7m.middleware.operations.api.NuggetApplicationLifecycle.Result applicationLifecycle(org.j7m.middleware.operations.api.NuggetApplicationLifecycle.Request request) - Specified by:
applicationLifecyclein interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
nuggetControl
public org.j7m.middleware.operations.api.NuggetControl.Result nuggetControl(org.j7m.middleware.operations.api.NuggetControl.Request request) - Specified by:
nuggetControlin interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-
discover
public org.j7m.middleware.operations.api.NuggetDiscovery.Result discover(org.j7m.middleware.operations.api.NuggetDiscovery.Query query) - Specified by:
discoverin interfaceorg.j7m.middleware.operations.api.NuggetDiscoveryService
-
resolve
public org.j7m.middleware.operations.api.NuggetDiscovery.Resolution resolve(org.j7m.middleware.operations.api.NuggetDiscovery.Selector selector) - Specified by:
resolvein interfaceorg.j7m.middleware.operations.api.NuggetDiscoveryService
-
discoveryStatus
public org.j7m.middleware.operations.api.NuggetDiscovery.StatusSummary discoveryStatus()- Specified by:
discoveryStatusin interfaceorg.j7m.middleware.operations.api.NuggetDiscoveryService
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.j7m.middleware.operations.api.NuggetAdminService
-