|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextFactory
This interface defines methods for retrieval of JpsContext instances.
Method Summary | |
---|---|
JpsContext |
getContext() Returns the default JpsContext <p/> The 'default' context is determined as follows: if an application-level jps-config.xml exists, return the default JpsContext associated with the application-level jps-config.xml otherwise, return the system-level default JpsContext <p/> In MAS deployments, the system-level default JpsContext corresponds to the farm-level default JpsContext In OC4J standalone deployments (pre-MAS/OC4J integration), the system-level default JpsContext corresponds to the instance-level JpsContext (e.g. |
JpsContext |
getContext(java.lang.String name) Returns the JPS context associated with the specified name <p/> The search order is the same as in getContext(): if an application-level jps-config.xml exists, look for a configured JpsContext with the specified name, and if such a JpsContext exists, it's returned otherwise, look for a configured JpsContext with the specified name in the system-level jps-config.xml return null if no configured JpsContext with the specified name can be found |
Method Detail |
---|
JpsContext getContext() throws JpsException
JpsException
- if an error condition is encountered during the invocation of this methodJpsContext getContext(java.lang.String name) throws JpsException
name
- name of the JpsContext to be looked upJpsException
- if an error condition is encountered during the invocation of this methodContextFactory.getContext()
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |