|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.InitialPlatformContext
Provides a starting point for establishing a platform context. This class will establish the context using the PlatformContextFactory class provided in the context environment parameter.
Field Summary | |
---|---|
static java.lang.String |
CONTEXT_FACTORY
PlatformContextFactory class property name. |
Fields inherited from interface com.ibm.itim.apps.PlatformContext |
---|
PLATFORM_CREDENTIALS, PLATFORM_PRINCIPAL, PLATFORM_URL |
Constructor Summary | |
---|---|
InitialPlatformContext(java.util.Hashtable env)
Constructs a platform context with the given environment. |
Method Summary | |
---|---|
void |
close()
Closes the platform context, freeing up any system resources that may have been allocated for the context. |
java.util.Hashtable |
getEnvironment()
Returns the environment the client used to define the context. |
java.lang.Object |
getEnvProperty(java.lang.Object propertyName)
Returns the environment property with the given name. |
java.lang.Long |
getID()
Returns the unique identifier of the platform context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CONTEXT_FACTORY
Constructor Detail |
public InitialPlatformContext(java.util.Hashtable env) throws java.rmi.RemoteException, ApplicationException
env
- the environment used to create the InitialPlatformContext.
java.rmi.RemoteException
- if unable to establish the
context.
ApplicationException
- if unable to establish the
context.Method Detail |
public java.util.Hashtable getEnvironment()
getEnvironment
in interface PlatformContext
public java.lang.Object getEnvProperty(java.lang.Object propertyName)
getEnvProperty
in interface PlatformContext
propertyName
- Name of the property to retrieve.
public java.lang.Long getID()
getID
in interface PlatformContext
public void close()
close
in interface PlatformContext
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |