|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E54416-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.JpsStartup
public class JpsStartup
JpsStartup class is responsible to start the OPSS on all platforms ( i.e. Weblogic, Tomcat, Jboss, Websphere) as well as standalone (JSE) programs. This class is single starting point of OPSS which supports all platform as mentioned above. OPSS Startup process is also dependent upon the startup options and system settings. Following are the startup options details Also it manages OPSS runtime states deriven by its operations.
Nested Class Summary | |
---|---|
static class |
JpsStartup.RuntimeState |
Constructor Summary | |
---|---|
JpsStartup() Default constructor for Java SE Startup |
|
JpsStartup(java.lang.String platformType) Constructor for Startup instance of supported platforms. |
|
JpsStartup(java.lang.String platformType, java.util.Map<java.lang.String,?> options) Constructor for Startup instance of supported platforms. |
|
JpsStartup(java.lang.String platformType, java.util.Map<java.lang.String,ContextConfiguration> ctxtCfgs, java.util.Map<java.lang.String,?> options) Constructor for Startup instance of supported platforms. |
Method Summary | |
---|---|
JpsStartup.RuntimeState |
getState() Get the state of OPSS |
void |
start() Boots up OPSS by initializing OPSS services This method wil set the state as STARTED if OPSS services initialized correctly. |
void |
stop() Shuts down OPSS services This method wil set the state as STOPPED if OPSS services initialized correctly. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JpsStartup() throws JpsException
JpsException
public JpsStartup(java.lang.String platformType) throws JpsException
platformType
- supported platform typeJpsException
public JpsStartup(java.lang.String platformType, java.util.Map<java.lang.String,?> options) throws JpsException
platformType
- supported platform typeoptions
- options on creating the startup class. Following are the options "ACTIVE_CONTEXT": Name of default context if not passed used "default" "ENABLE_JAVA_POLICY_PROVIDER": if "FALSE" then not to set default OPSS as Java2 policy provider otherwise set "ENABLE_AUDIT_SERVICE_EXT": if "FALSE" then start audit service without audit monitoring thread and auditloader otherwise start "ENABLE_POLICY_STORE_SERVICE_EXT": if "FALSE" then start PDP (Policy Distribution Point) without policy change scanner thread. "ENABLE_DEPLOYMENT_HANDLING": if "FALSE" then deployment handlers are not created by default created "RUNTIME_MODE": if mode is "SCRIPT" then by default options i.e. ENABLE_JAVA_POLICY_PROVIDER ,ENABLE_AUDIT_SERVICE_EXT, ENABLE_POLICY_STORE_SERVICE_EXT, ENABLE_DEPLOYMENT_HANDLING to "FALSE" otherwise "DEFAULT" "JPS_CONFIG": if set use the specified pass otherwise default behaviourJpsException
public JpsStartup(java.lang.String platformType, java.util.Map<java.lang.String,ContextConfiguration> ctxtCfgs, java.util.Map<java.lang.String,?> options) throws JpsException
platformType
- supported platform typectxtCfgs
- pass the ContextConfiguration'soptions
- options on creating the startup class. Following are the options "ACTIVE_CONTEXT": Name of default context if not passed then "default" key is used "ENABLE_JAVA_POLICY_PROVIDER": if "FALSE" then not to set default OPSS as Java2 policy provider otherwise set "ENABLE_AUDIT_SERVICE_EXT": if "FALSE" then start audit service without audit monitoring thread and auditloader otherwise start "ENABLE_POLICY_STORE_SERVICE_EXT": if "FALSE" then start PDP (Policy Distribution Point) without policy change scanner thread. "ENABLE_DEPLOYMENT_HANDLING": if "FALSE" then deployment handlers are not created by default created "RUNTIME_MODE": if mode is "SCRIPT" then by default options i.e. ENABLE_JAVA_POLICY_PROVIDER ,ENABLE_AUDIT_SERVICE_EXT, ENABLE_POLICY_STORE_SERVICE_EXT, ENABLE_DEPLOYMENT_HANDLING to "FALSE" otherwise "DEFAULT" "JPS_CONFIG": if set use the specified pass otherwise default behaviourJpsException
Method Detail |
---|
public void start() throws JpsException
JpsException
public JpsStartup.RuntimeState getState()
public void stop()
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E54416-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |