Top Interfaces Annotations Classes
module org.glassfish.hk2.runlevel

Package org.glassfish.hk2.runlevel


Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
public interface
ProgressStartedListener

Instances of classes implementing this contract can be registered with HK2 to be informed when the system starts progressing to a new level, either upward or downward

Lengthy operations should not be performed in the listener since that may impact the performance of the RunLevelController calling the listener

public interface
RunLevelController

A RunLevelContoller controls the current state of services registered in the RunLevel scope.

public interface
RunLevelFuture

This is the Future object that will be returned by the RunLevelController and it contains extra information about the job being done

public interface
RunLevelListener

Instances of classes implementing this contract can be registered with HK2 to be informed of events of RunLevelControllers.

public interface
Sorter

Contract for sorting descriptors for run level services.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
RunLevel

Defines a run/start level.

Class Summary

Modifier and TypeClass and Description
public class
CurrentlyRunningException

This exception is thrown by proceedTo if there is currently a job being run when proceedTo is called

public class
RunLevelContext

This is the implementation of the Context for the RunLevel scope

public class
RunLevelException

Exception related to the operations of the RunLevelController.

public class
RunLevelServiceModule

This module can be used to enable the RunLevelService in a system not using automatic service discovery.

public class
RunLevelServiceUtilities

Utilities for using the RunLevelService