public interface PlatformContext
An instance of a class implementing this interface should be obtained from the class InitialPlatformContext. A protocol implementer should obtain an instance of a class implementing this interface and then use it to complete processing of the asynchronous request or unsolicited event.
Notifier,
DirContext,
InitialPlatformContext| Modifier and Type | Method and Description |
|---|---|
javax.naming.directory.DirContext |
getDirectoryContext()
Deprecated.
See UnsolicitedNotificationHandler.findService().
|
Notifier |
getNotifier()
Retrieves a new Notifier for notifying the platform or request responses.
|
UnsolicitedEventProcessor |
getUnsolicitedEventProcessor()
Retrieves a new UnsolicitedEventProcessor for processing unsolicited
notification requests.
|
void |
setSubject(javax.security.auth.Subject subject)
Sets the subject for authentication and authorization.
|
Notifier getNotifier() throws RemoteServicesException
RemoteServicesException - Thrown on error.UnsolicitedEventProcessor getUnsolicitedEventProcessor() throws RemoteServicesException
RemoteServicesException - Thrown on errorjavax.naming.directory.DirContext getDirectoryContext()
throws javax.naming.NamingException
javax.naming.NamingException - Thrown if unable to create the DirContext.void setSubject(javax.security.auth.Subject subject)
subject - The subject for authentication and authorization. subject
cannot be null.