org.omg.PortableInterceptor
Interface ClientRequestInfoOperations
- RequestInfoOperations
- ClientRequestInfo
arguments , contexts , exceptions , forward_reference , get_reply_service_context , get_request_service_context , get_slot , operation , operation_context , reply_status , request_id , response_expected , result , sync_scope |
add_request_service_context
public void add_request_service_context(ServiceContext service_context,
boolean replace)
service_context
- the context to add.replace
- if true, the existing context with the same Id will be
replaced. If false, the BAD_INV_ORDER will be thrown in that case.
BAD_INV_ORDER
- minor 15 if the context with the same Id already
exists and replace=false.
effective_profile
public TaggedProfile effective_profile()
Returns the tagged profile (IOR) of the invocation target. If the request
was forwarded, the method returns the new location, shown by the forwarding
message.
effective_target
public Object effective_target()
Returns the object on that the operation will be invoked after handling the
possible forwarding.
- the final invocation target.
get_effective_component
public TaggedComponent get_effective_component(int id)
throws BAD_PARAM
Returns the given component of the invocation target profile. If the
profile contains multiple components with the same Id, it is not defined,
which one will be returned.
- the profile component with the given Id.
BAD_PARAM
- minor 28 in there are no any components with the given Id
in the profile.
get_effective_components
public TaggedComponent[] get_effective_components(int id)
throws BAD_PARAM
Returns the given components of the invocation target profile. This method
is uses when the profile may contain multiple components with the same Id.
- the array of all profile components with the given Id.
BAD_PARAM
- minor 28 in there are no any components with the given Id
in the profile.
get_request_policy
public Policy get_request_policy(int type)
throws INV_POLICY
This should return the policy of the given type that applies to this
operation, but it is not implemented up till JDK 1.5 inclusive.
type
- the type of the policy being requested.
- should return the policy that applies to this operation.
received_exception
public Any received_exception()
Returns the remote exception that was thrown on the server side.
- the Any, holding this exception.
received_exception_id
public String received_exception_id()
Returns the repository id of the remote exception that was thrown on the
server side.
- the exception repository id.
target
public Object target()
Returns the object on that the client has invoked the the operation. If the
request was forwarded, it will not be the same object that actually
processed the request.
- the initial client invocation target.
ClientRequestInfoOperations.java --
Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.