|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.api.admin.ProcessEnvironment
@Service @Scoped(value=org.jvnet.hk2.component.Singleton.class) public class 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.
| Nested Class Summary | |
|---|---|
static class |
ProcessEnvironment.ProcessType
Enumeration of the supported process types Server is the application server ACC is the application client Other is a standalone java. |
| Constructor Summary | |
|---|---|
ProcessEnvironment()
Default initialization is unkown process environment |
|
ProcessEnvironment(ProcessEnvironment.ProcessType type)
Creates a process environemnt for the inten |
|
| Method Summary | |
|---|---|
ProcessEnvironment.ProcessType |
getProcessType()
Determine and return the modes in which the code is behaving, like application server or application client modes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessEnvironment()
public ProcessEnvironment(ProcessEnvironment.ProcessType type)
type - of the execution environemnt| Method Detail |
|---|
public ProcessEnvironment.ProcessType getProcessType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||