|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.LocalObject
Provides default implementations of the
org.omg.CORBA.Object
methods.
Methods that do not apply to local objects throw
an org.omg.CORBA.NO_IMPLEMENT
exception with the message,
"This is a locally contrained object."
LocalObject
is to be used as the base class of locally
constrained objects, such as those in the PortableServer module.
The specification here is based on the CORBA Components
Volume I - orbos/99-07-01
Constructor Summary | |
LocalObject()
Constructs a default LocalObject instance. |
Method Summary | |
Request |
_create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
Request |
_create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result,
ExceptionList exceptions,
ContextList contexts)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
Object |
_duplicate()
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
DomainManager[] |
_get_domain_managers()
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
Object |
_get_interface_def()
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
Object |
_get_interface()
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
Policy |
_get_policy(int policy_type)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
int |
_hash(int maximum)
Retrieves a hashcode for this LocalObject instance
using the given number as the maximum. |
InputStream |
_invoke(OutputStream output)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
_invoke is called to invoke an operation. |
boolean |
_is_a(String repository_id)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method. |
boolean |
_is_equivalent(Object that)
Determines whether the two object references are equivalent, so far as the ORB can easily determine. |
boolean |
_is_local()
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
boolean |
_non_existent()
Always returns false . |
ORB |
_orb()
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
void |
_release()
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
void |
_releaseReply(InputStream input)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
_releaseReply may optionally be called by a stub to release a
reply stream back to the ORB when the unmarshaling has
completed. |
Request |
_request(String operation)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
OutputStream |
_request(String operation,
boolean responseExpected)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
_request is called by a stub to obtain an OutputStream for
marshaling arguments. |
void |
_servant_postinvoke(ServantObject servant)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object." |
ServantObject |
_servant_preinvoke(String operation,
Class expectedType)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object." |
Object |
_set_policy_override(Policy[] policies,
SetOverrideType set_add)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
|
boolean |
validate_connection()
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object." |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalObject()
LocalObject
instance.
Method Detail |
public boolean _is_equivalent(Object that)
_is_equivalent
in interface Object
that
- the other object reference with which to check for equivalence
true
if this object reference is known to be
equivalent to the given object reference.
Note that false
indicates only that the two
object references are distinct, not necessarily that
they reference distinct objects.public boolean _non_existent()
false
.
This method is the default implementation of the
org.omg.CORBA.Object
method.
_non_existent
in interface Object
false
public int _hash(int maximum)
LocalObject
instance
using the given number as the maximum.
This method is the default implementation of the
org.omg.CORBA.Object
method.
_hash
in interface Object
maximum
- the upper bound on the hash value returned by the ORB
public boolean _is_a(String repository_id)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
_is_a
in interface Object
repository_id
- a String
identifying an object in
the Interface Repository
true
if this LocalObject
instance
is an object identified by the given repository ID;
false
otherwise
NO_IMPLEMENT
public Object _duplicate()
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
_duplicate
in interface Object
LocalObject
instance
NO_IMPLEMENT
public void _release()
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
_release
in interface Object
NO_IMPLEMENT
public Request _request(String operation)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
_request
in interface Object
operation
- a String
giving the name of an operation
to be performed by the request that is returned
Request
object with the given operation
NO_IMPLEMENT
public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
_create_request
in interface Object
ctx
- a Context
object containing
a list of propertiesoperation
- the name of the method to be invokedarg_list
- an NVList
containing the actual arguments
to the method being invokedresult
- a NamedValue
object to serve as a
container for the method's return value
Request
object initialized with the given arguments
NO_IMPLEMENT
Request
,
NVList
,
NamedValue
public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
_create_request
in interface Object
ctx
- a Context
object containing
a list of propertiesoperation
- the name of the method to be invokedarg_list
- an NVList
containing the actual arguments
to the method being invokedresult
- a NamedValue
object to serve as a
container for the method's return valueexceptions
- an ExceptionList
object containing a
list of possible exceptions the method can throwcontexts
- a ContextList
object containing a list of
context strings that need to be resolved and sent with the
Request
instance
Request
object initialized with the
given arguments
NO_IMPLEMENT
Request
,
NVList
,
NamedValue
,
ExceptionList
,
ContextList
public Object _get_interface()
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
NO_IMPLEMENT
public Object _get_interface_def()
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
_get_interface_def
in interface Object
InterfaceDef
object in the Interface Repository
which provides type information about the object referred to by
this object reference
NO_IMPLEMENT
public ORB _orb()
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
NO_IMPLEMENT
public Policy _get_policy(int policy_type)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object
method.
_get_policy
in interface Object
policy_type
- the type of policy to be obtained
Policy
object of the type specified by
the policy_type parameter
NO_IMPLEMENT
public DomainManager[] _get_domain_managers()
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
Retrieves the domain managers for this local object.
_get_domain_managers
in interface Object
DomainManager
objects listing
the domain managers for this LocalObject
instance
NO_IMPLEMENT
public Object _set_policy_override(Policy[] policies, SetOverrideType set_add)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
When implemented, this method sets this LocalObject
instance with the given policies. The second argument indicates
whether to add the given policies or to replace the current policies
with the given policies.
_set_policy_override
in interface Object
policies
- an array of the policies to be setset_add
- a flag indicating whether to set the given policies
in place of the current ones or to add them
org.omg.CORBA.Object
with the given
policies either added to the existing ones or replacing
the existing ones
NO_IMPLEMENT
public boolean _is_local()
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
Returns true
for this LocalObject
instance.
true
alwayspublic ServantObject _servant_preinvoke(String operation, Class expectedType)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
NO_IMPLEMENT
public void _servant_postinvoke(ServantObject servant)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
NO_IMPLEMENT
public OutputStream _request(String operation, boolean responseExpected)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
_request is called by a stub to obtain an OutputStream for
marshaling arguments. The stub must supply the operation name,
and indicate if a response is expected (i.e is this a oneway
call).
NO_IMPLEMENT
public InputStream _invoke(OutputStream output) throws ApplicationException, RemarshalException
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
_invoke is called to invoke an operation. The stub provides an
OutputStream that was previously returned by a _request()
call. _invoke returns an InputStream which contains the
marshaled reply. If an exception occurs, _invoke may throw an
ApplicationException object which contains an InputStream from
which the user exception state may be unmarshaled.
output
-
NO_IMPLEMENT
ApplicationException
RemarshalException
public void _releaseReply(InputStream input)
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
_releaseReply may optionally be called by a stub to release a
reply stream back to the ORB when the unmarshaling has
completed. The stub passes the InputStream returned by
_invoke() or ApplicationException.getInputStream(). A null
value may also be passed to _releaseReply, in which case the
method is a noop.
input
- the reply stream back to the ORB or null
NO_IMPLEMENT
public boolean validate_connection()
org.omg.CORBA.NO_IMPLEMENT
exception with
the message "This is a locally constrained object."
true
if the connection is valid; false
otherwise
NO_IMPLEMENT
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |