|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.CORBA.LocalObject
public abstract class LocalObject
Provides a base class for the implementation of IDL local interfaces. Note that most of the
methods defined in the org.omg.CORBA.Object
throw CORBA::NO_IMPLEMENT
exception for local objects.
Constructor Summary | |
---|---|
LocalObject()
|
Method Summary | |
---|---|
Request |
_create_request(Context ctx,
java.lang.String operation,
NVList arg_list,
NamedValue result)
Throws CORBA::NO_IMPLEMENT exception. |
Request |
_create_request(Context ctx,
java.lang.String operation,
NVList arg_list,
NamedValue result,
ExceptionList exceptions,
ContextList contexts)
Throws CORBA::NO_IMPLEMENT exception. |
Object |
_duplicate()
Throws CORBA::NO_IMPLEMENT exception. |
DomainManager[] |
_get_domain_managers()
Throws CORBA::NO_IMPLEMENT exception. |
Object |
_get_interface_def()
Throws CORBA::NO_IMPLEMENT exception. |
InterfaceDef |
_get_interface()
Deprecated. Deprecated by CORBA 2.4 |
Policy |
_get_policy(int policy_type)
Throws CORBA::NO_IMPLEMENT exception. |
int |
_hash(int maximum)
Returns an ORB-internal identifier for this object reference. |
java.lang.String[] |
_ids()
Throws CORBA::NO_IMPLEMENT exception. |
InputStream |
_invoke(OutputStream output)
Throws CORBA::NO_IMPLEMENT exception. |
boolean |
_is_a(java.lang.String repositoryId)
Local objects that wish to support the _is_a
operation should always extend from |
boolean |
_is_equivalent(Object that)
Provides default implementation by doing an "equals" check on the two object references. |
boolean |
_is_local()
Always returns true. |
boolean |
_non_existent()
Always returns false for local objects. |
ORB |
_orb()
Throws CORBA::NO_IMPLEMENT exception. |
void |
_release()
Throws CORBA::NO_IMPLEMENT exception. |
void |
_releaseReply(InputStream input)
Throws CORBA::NO_IMPLEMENT exception. |
Request |
_request(java.lang.String operation)
Throws CORBA::NO_IMPLEMENT exception. |
OutputStream |
_request(java.lang.String operation,
boolean responseExpected)
Throws CORBA::NO_IMPLEMENT exception. |
void |
_servant_postinvoke(ServantObject servant)
Throws CORBA::NO_IMPLEMENT exception. |
ServantObject |
_servant_preinvoke(java.lang.String operation,
java.lang.Class expectedType)
Throws CORBA::NO_IMPLEMENT exception. |
Object |
_set_policy_override(Policy[] policies,
SetOverrideType set_add)
Throws CORBA::NO_IMPLEMENT exception. |
boolean |
validate_connection()
Throws CORBA::NO_IMPLEMENT exception. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalObject()
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()
_non_existent
in interface Object
true
if the ORB knows authoritatively that the
server object does not exist; false
otherwisepublic int _hash(int maximum)
Object
_hash
in interface Object
maximum
- the upper bound on the hash value returned by the ORB
public java.lang.String[] _ids()
CORBA::NO_IMPLEMENT
exception. Local objects that wish to support the _is_a
operation should always extend from
public boolean _is_a(java.lang.String repositoryId)
_is_a
operation should always extend from
_is_a
in interface Object
repositoryId
- the interface to check against
true
if this object reference is an instance
of a class that implements the interface;
false
otherwisepublic Object _duplicate()
CORBA::NO_IMPLEMENT
exception.
_duplicate
in interface Object
public void _release()
CORBA::NO_IMPLEMENT
exception.
_release
in interface Object
public Request _request(java.lang.String operation)
CORBA::NO_IMPLEMENT
exception.
_request
in interface Object
operation
- the name of the method to be invoked using the
Request
instance
Request
instancepublic Request _create_request(Context ctx, java.lang.String operation, NVList arg_list, NamedValue result)
CORBA::NO_IMPLEMENT
exception.
_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
objectRequest
,
NVList
,
NamedValue
public Request _create_request(Context ctx, java.lang.String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)
CORBA::NO_IMPLEMENT
exception.
_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
objectRequest
,
NVList
,
NamedValue
,
ExceptionList
,
ContextList
public InterfaceDef _get_interface()
CORBA::NO_IMPLEMENT
exception.
public Object _get_interface_def()
CORBA::NO_IMPLEMENT
exception.
_get_interface_def
in interface Object
InterfaceDef
object in the Interface Repository
which provides type information about the object referred to by
this object referencepublic ORB _orb()
CORBA::NO_IMPLEMENT
exception.
public Policy _get_policy(int policy_type)
CORBA::NO_IMPLEMENT
exception.
_get_policy
in interface Object
policy_type
- the type of policy to be obtained
Policy
object of the type specified by
the policy_type parameterpublic DomainManager[] _get_domain_managers()
CORBA::NO_IMPLEMENT
exception.
_get_domain_managers
in interface Object
public Object _set_policy_override(Policy[] policies, SetOverrideType set_add)
CORBA::NO_IMPLEMENT
exception.
_set_policy_override
in interface Object
policies
- an array of Policy
objects containing
the policies to be added or to be used as replacementsset_add
- either SetOverrideType.SET_OVERRIDE
, indicating
that the given policies will replace any existing ones, or
SetOverrideType.ADD_OVERRIDE
, indicating that
the given policies should be added to any existing ones
Object
with the given policies replacing
or added to those in this Object
public boolean _is_local()
public ServantObject _servant_preinvoke(java.lang.String operation, java.lang.Class expectedType)
CORBA::NO_IMPLEMENT
exception.
public void _servant_postinvoke(ServantObject servant)
CORBA::NO_IMPLEMENT
exception.
public OutputStream _request(java.lang.String operation, boolean responseExpected)
CORBA::NO_IMPLEMENT
exception.
public InputStream _invoke(OutputStream output) throws ApplicationException, RemarshalException
CORBA::NO_IMPLEMENT
exception.
ApplicationException
RemarshalException
public void _releaseReply(InputStream input)
CORBA::NO_IMPLEMENT
exception.
public boolean validate_connection()
CORBA::NO_IMPLEMENT
exception.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |