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 Type
    Method
    Description
    org.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.Result
    applicationLifecycle(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.NuggetAuthenticationResult
    authenticate(org.j7m.middleware.operations.api.NuggetAuthenticationRequest request, char[] pin)
    void
    org.j7m.middleware.operations.api.NuggetDiscovery.Result
    discover(org.j7m.middleware.operations.api.NuggetDiscovery.Query query)
    org.j7m.middleware.operations.api.NuggetDiscovery.StatusSummary
    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)
    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.Result
    nuggetControl(org.j7m.middleware.operations.api.NuggetControl.Request request)
    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)
    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.Resolution
    resolve(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)
    void
    Starts the headless administration lifecycle.
    start(org.j7m.middleware.api.RuntimeIdentity runtimeIdentity, NuggetAdminConfiguration configuration)
    Creates and starts a controller.
    start(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.NuggetStatus
    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, wait

    Methods 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 identity
      configuration - 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 identity
      configuration - nugget admin configuration
      runtimeCloseAction - 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:
      status in interface org.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:
      adminCapabilities in interface org.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:
      authenticate in interface org.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:
      overview in interface org.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:
      environment in interface org.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:
      disk in interface org.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:
      health in interface org.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:
      readiness in interface org.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:
      runtime in interface org.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:
      transports in interface org.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:
      registry in interface org.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:
      repository in interface org.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:
      applications in interface org.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:
      application in interface org.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:
      objects in interface org.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:
      object in interface org.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:
      metrics in interface org.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:
      recentErrors in interface org.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:
      applicationLifecycle in interface org.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:
      nuggetControl in interface org.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:
      discover in interface org.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:
      resolve in interface org.j7m.middleware.operations.api.NuggetDiscoveryService
    • discoveryStatus

      public org.j7m.middleware.operations.api.NuggetDiscovery.StatusSummary discoveryStatus()
      Specified by:
      discoveryStatus in interface org.j7m.middleware.operations.api.NuggetDiscoveryService
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.j7m.middleware.operations.api.NuggetAdminService