public interface _ServantLocatorOperationsNC
| Modifier and Type | Method and Description |
|---|---|
void |
deactivate(java.lang.String category)
Called when the object adapter in which this servant locator is
installed is destroyed.
|
void |
finished(Current curr,
Object servant,
java.lang.Object cookie)
Called by the object adapter after a request has been
made.
|
Object |
locate(Current curr,
LocalObjectHolder cookie)
Called before a request is dispatched if a
servant cannot be found in the object adapter's active servant
map.
|
Object locate(Current curr, LocalObjectHolder cookie) throws UserException
curr - Information about the current operation for which
a servant is required.cookie - A "cookie" that will be passed to finished.UserException - The implementation can raise a UserException
and the run time will marshal it as the result of the invocation.ObjectAdapter,
Current,
finished(Ice.Current, Ice.Object, java.lang.Object)void finished(Current curr, Object servant, java.lang.Object cookie) throws UserException
curr - Information about the current operation call for
which a servant was located by locate.servant - The servant that was returned by locate.cookie - The cookie that was returned by locate.UserException - The implementation can raise a UserException
and the run time will marshal it as the result of the invocation.ObjectAdapter,
Current,
locate(Ice.Current, Ice.LocalObjectHolder)void deactivate(java.lang.String category)
category - Indicates for which category the servant locator
is being deactivated.ObjectAdapter.destroy(),
Communicator.shutdown(),
Communicator.destroy()