org.jacorb.orb.portableInterceptor
Class ServerRequestInfoImpl
java.lang.Object
org.omg.CORBA.LocalObject
org.jacorb.orb.portableInterceptor.RequestInfoImpl
org.jacorb.orb.portableInterceptor.ServerRequestInfoImpl
- All Implemented Interfaces:
- IDLEntity, Object, RequestInfo, RequestInfoOperations, java.io.Serializable, ServerRequestInfo, ServerRequestInfoOperations
- public class ServerRequestInfoImpl
- extends RequestInfoImpl
- implements ServerRequestInfo
This class represents the type of info object
that will be passed to the ServerRequestInterceptors.
See PI Spec p.5-50ff
- Version:
- $Id: ServerRequestInfoImpl.java,v 1.13 2004/02/04 23:48:40 francisco Exp $
- Author:
- Nicolas Noffke
- See Also:
- Serialized Form
Fields inherited from class org.jacorb.orb.portableInterceptor.RequestInfoImpl |
arguments, caller_op, current, exceptions, forward_reference, operation, reply_ctx, reply_status, request_ctx, request_id, response_expected, result |
Methods inherited from class org.omg.CORBA.LocalObject |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
request
public ServerRequest request
sending_exception
public Any sending_exception
ServerRequestInfoImpl
public ServerRequestInfoImpl(ORB orb,
ServerRequest request,
Servant servant)
setServant
public void setServant(Servant servant)
- The servant is sometimes not available on calling
receive_request_service_contexts (e.g. in case of
ServantLocators or ServantActivators).
update
public void update()
- Set the sending_exception attribute.
getReplyServiceContexts
public java.util.Enumeration getReplyServiceContexts()
target
public Object target()
- returns a reference to the calls target.
arguments
public Parameter[] arguments()
- Specified by:
arguments
in interface RequestInfoOperations
- Overrides:
arguments
in class RequestInfoImpl
exceptions
public TypeCode[] exceptions()
- Specified by:
exceptions
in interface RequestInfoOperations
- Overrides:
exceptions
in class RequestInfoImpl
result
public Any result()
- Specified by:
result
in interface RequestInfoOperations
- Overrides:
result
in class RequestInfoImpl
sync_scope
public short sync_scope()
- Specified by:
sync_scope
in interface RequestInfoOperations
- Overrides:
sync_scope
in class RequestInfoImpl
reply_status
public short reply_status()
- Specified by:
reply_status
in interface RequestInfoOperations
- Overrides:
reply_status
in class RequestInfoImpl
forward_reference
public Object forward_reference()
- Specified by:
forward_reference
in interface RequestInfoOperations
- Overrides:
forward_reference
in class RequestInfoImpl
get_reply_service_context
public ServiceContext get_reply_service_context(int id)
- Specified by:
get_reply_service_context
in interface RequestInfoOperations
- Overrides:
get_reply_service_context
in class RequestInfoImpl
operation
public java.lang.String operation()
- Specified by:
operation
in interface RequestInfoOperations
- Overrides:
operation
in class RequestInfoImpl
request_id
public int request_id()
- Specified by:
request_id
in interface RequestInfoOperations
- Overrides:
request_id
in class RequestInfoImpl
response_expected
public boolean response_expected()
- Specified by:
response_expected
in interface RequestInfoOperations
- Overrides:
response_expected
in class RequestInfoImpl
sending_exception
public Any sending_exception()
- Specified by:
sending_exception
in interface ServerRequestInfoOperations
object_id
public byte[] object_id()
- Specified by:
object_id
in interface ServerRequestInfoOperations
adapter_id
public byte[] adapter_id()
- Specified by:
adapter_id
in interface ServerRequestInfoOperations
target_most_derived_interface
public java.lang.String target_most_derived_interface()
- Specified by:
target_most_derived_interface
in interface ServerRequestInfoOperations
get_server_policy
public Policy get_server_policy(int type)
- WARNING: This method relies on the DomainService to be available.
Make shure that the DS is running, if you want to call this method.
- Specified by:
get_server_policy
in interface ServerRequestInfoOperations
set_slot
public void set_slot(int id,
Any data)
throws InvalidSlot
- Specified by:
set_slot
in interface ServerRequestInfoOperations
- Throws:
InvalidSlot
target_is_a
public boolean target_is_a(java.lang.String id)
- Specified by:
target_is_a
in interface ServerRequestInfoOperations
add_reply_service_context
public void add_reply_service_context(ServiceContext service_context,
boolean replace)
- Specified by:
add_reply_service_context
in interface ServerRequestInfoOperations