Class AMXJ2EEStartupService

  • All Implemented Interfaces:
    AMXLoader, org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, ConfigListener

    @Service
    public final class AMXJ2EEStartupService
    extends Object
    implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, AMXLoader, ConfigListener
    Startup service that loads support for AMX config MBeans. How this is to be triggered is not yet clear.
    • Constructor Detail

      • AMXJ2EEStartupService

        public AMXJ2EEStartupService()
    • Method Detail

      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • changed

        public UnprocessedChangeEvents changed​(PropertyChangeEvent[] propertyChangeEvents)
        Description copied from interface: ConfigListener
        Notification that @Configured objects that were injected have changed
        Specified by:
        changed in interface ConfigListener
        Parameters:
        propertyChangeEvents - list of changes
        Returns:
        the list of unprocessed events (requiring a restart) or null if all reconfiguration was processed successfully
      • preDestroy

        public void preDestroy()
        Specified by:
        preDestroy in interface org.glassfish.hk2.api.PreDestroy
      • getJ2EEDomain

        public ObjectName getJ2EEDomain()
      • loadAMXMBeans

        public ObjectName loadAMXMBeans()
        Description copied from interface: AMXLoader
        Loader a hierarchy of AMX MBeans, returning the ObjectName of the root of the hierarchy.
        Specified by:
        loadAMXMBeans in interface AMXLoader
      • unloadAMXMBeans

        public void unloadAMXMBeans()
        Description copied from interface: AMXLoader
        Unload (unregister) AMX MBeans.
        Specified by:
        unloadAMXMBeans in interface AMXLoader