Package org.glassfish.api.admin
Class ProcessEnvironment
java.lang.Object
org.glassfish.api.admin.ProcessEnvironment
Process environment allow access to information related to the execution or process. This is a bit tricky to rely
of @Contract/@Service service lookup for this API since different implementations (server, clients, etc..) can be
present of the classpath.
- Author:
- Jerome Dochez
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration of the supported process types Server is the application server ACC is the application client Other is a standalone java. -
Constructor Summary
ConstructorDescriptionDefault initialization is unkown process environmentCreates a process environemnt for the inten -
Method Summary
Modifier and TypeMethodDescriptionDetermine and return the modes in which the code is behaving, like application server or application client modes.toString()
-
Constructor Details
-
ProcessEnvironment
public ProcessEnvironment()Default initialization is unkown process environment -
ProcessEnvironment
Creates a process environemnt for the inten- Parameters:
type
- of the execution environemnt
-
-
Method Details