public class ServantObjectImpl extends ServantObjectExt
servant
Constructor and Description |
---|
ServantObjectImpl() |
Modifier and Type | Method and Description |
---|---|
void |
exceptionalCompletion(Error err)
This method is called if the exception thrown is an Error
|
void |
exceptionalCompletion(RuntimeException re)
This method is called if the exception thrown is a RuntimeException
|
void |
exceptionalCompletion(Throwable t)
Generic method to handle whatever is thrown
|
DefaultClientInterceptorHandler |
getClientInterceptorHandler()
Accessor method to get the ClientInterceptorHandler - required
in servant_postinvoke
|
ServerRequestInfoImpl |
getServerRequestInfo()
Accessor method to get the ServerRequestInfoImpl.
|
void |
normalCompletion()
This method is called if a call to the local server is successful.
|
void |
setClientInterceptorHandler(DefaultClientInterceptorHandler interceptors)
Set the local client interceptor handler that was instantiated
during servant_preinvoke, we need this to handle any necessary
interception points if an exception occurs
|
void |
setORB(ORB orb)
Set a reference to the ORB to be used in subsequent processing
|
void |
setServerRequestInfo(ServerRequestInfoImpl sinfo)
Set the server request info associated with this Servant
|
public void normalCompletion()
normalCompletion
in class ServantObjectExt
public void exceptionalCompletion(RuntimeException re)
re
- the RuntimeExceptionpublic void exceptionalCompletion(Error err)
err
- the RuntimeExceptionpublic void exceptionalCompletion(Throwable t)
exceptionalCompletion
in class ServantObjectExt
public void setORB(ORB orb)
orb
- the orb referencepublic void setServerRequestInfo(ServerRequestInfoImpl sinfo)
sinfo
- the ServerRequestInfoImplpublic void setClientInterceptorHandler(DefaultClientInterceptorHandler interceptors)
interceptors
- the ClientInterceptorHandlerpublic ServerRequestInfoImpl getServerRequestInfo()
public DefaultClientInterceptorHandler getClientInterceptorHandler()
Copyright © 2017 JacORB. All rights reserved.