Java Doc for Object.java in  » 6.0-JDK-Modules-sun » omg » org » omg » CORBA » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules sun » omg » org.omg.CORBA 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.omg.CORBA.Object

All known Subclasses:   org.omg.CORBA.LocalObject,  org.omg.CORBA.portable.ObjectImpl,
Object
public interface Object (Code)
The definition for a CORBA object reference.

A CORBA object reference is a handle for a particular CORBA object implemented by a server. A CORBA object reference identifies the same CORBA object each time the reference is used to invoke a method on the object. A CORBA object may have multiple, distinct object references.

The org.omg.CORBA.Object interface is the root of the inheritance hierarchy for all CORBA object references in the Java programming language, analogous to java.rmi.Remote for RMI remote objects.

A CORBA object may be either local or remote. If it is a local object (that is, running in the same VM as the client), invocations may be directly serviced by the object instance, and the object reference could point to the actual instance of the object implementation class. If a CORBA object is a remote object (that is, running in a different VM from the client), the object reference points to a stub (proxy) which uses the ORB machinery to make a remote invocation on the server where the object implementation resides.

Default implementations of the methods in the interface org.omg.CORBA.Object are provided in the class org.omg.CORBA.portable.ObjectImpl, which is the base class for stubs and object implementations.


See Also:   org.omg.CORBA.portable.ObjectImpl





Method Summary
 Request_create_request(Context ctx, String operation, NVList arg_list, NamedValue result)
     Creates a Request instance initialized with the given context, method name, list of arguments, and container for the method's return value.
 Request_create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)
     Creates a Request instance initialized with the given context, method name, list of arguments, container for the method's return value, list of possible exceptions, and list of context strings needing to be resolved.
 org.omg.CORBA.Object_duplicate()
     Returns a duplicate of this CORBA object reference.
 DomainManager[]_get_domain_managers()
     Retrieves the DomainManagers of this object.
 org.omg.CORBA.Object_get_interface_def()
     Obtains an InterfaceDef for the object implementation referenced by this object reference.
 Policy_get_policy(int policy_type)
     Returns the Policy object of the specified type which applies to this object.
 int_hash(int maximum)
     Returns an ORB-internal identifier for this object reference. This is a hash identifier, which does not change during the lifetime of the object reference, and so neither will any hash function of that identifier change.
 boolean_is_a(String repositoryIdentifier)
     Checks whether this object is an instance of a class that implements the given interface.
 boolean_is_equivalent(org.omg.CORBA.Object other)
     Determines whether the two object references are equivalent, so far as the ORB can easily determine.
 boolean_non_existent()
     Determines whether the server object for this object reference has been destroyed.
 void_release()
     Signals that the caller is done using this object reference, so internal ORB resources associated with this object reference can be released.
 Request_request(String operation)
     Creates a Request instance for use in the Dynamic Invocation Interface.
 org.omg.CORBA.Object_set_policy_override(Policy[] policies, SetOverrideType set_add)
     Returns a new Object with the given policies either replacing any existing policies in this Object or with the given policies added to the existing ones, depending on the value of the given SetOverrideType object.



Method Detail
_create_request
Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result)(Code)
Creates a Request instance initialized with the given context, method name, list of arguments, and container for the method's return value.
Parameters:
  ctx - a Context object containinga list of properties
Parameters:
  operation - the name of the method to be invoked
Parameters:
  arg_list - an NVList containing the actual argumentsto the method being invoked
Parameters:
  result - a NamedValue object to serve as acontainer for the method's return value the newly-created Request object
See Also:   Request
See Also:   NVList
See Also:   NamedValue



_create_request
Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)(Code)
Creates a Request instance initialized with the given context, method name, list of arguments, container for the method's return value, list of possible exceptions, and list of context strings needing to be resolved.
Parameters:
  ctx - a Context object containinga list of properties
Parameters:
  operation - the name of the method to be invoked
Parameters:
  arg_list - an NVList containing the actual argumentsto the method being invoked
Parameters:
  result - a NamedValue object to serve as acontainer for the method's return value
Parameters:
  exclist - an ExceptionList object containing alist of possible exceptions the method can throw
Parameters:
  ctxlist - a ContextList object containing a list ofcontext strings that need to be resolved and sent with theRequest instance the newly-created Request object
See Also:   Request
See Also:   NVList
See Also:   NamedValue
See Also:   ExceptionList
See Also:   ContextList



_duplicate
org.omg.CORBA.Object _duplicate()(Code)
Returns a duplicate of this CORBA object reference. The server object implementation is not involved in creating the duplicate, and the implementation cannot distinguish whether the original object reference or a duplicate was used to make a request.

Note that this method is not very useful in the Java platform, since memory management is handled by the VM. It is included for compliance with the CORBA APIs.

The method _duplicate may return this object reference itself. a duplicate of this object reference or this object referenceitself




_get_domain_managers
DomainManager[] _get_domain_managers()(Code)
Retrieves the DomainManagers of this object. This allows administration services (and applications) to retrieve the domain managers, and hence the security and other policies applicable to individual objects that are members of the domain. the list of immediately enclosing domain managers of this object.At least one domain manager is always returned in the list since by default each object is associated with at least one domain manager at creation.



_get_interface_def
org.omg.CORBA.Object _get_interface_def()(Code)
Obtains an InterfaceDef for the object implementation referenced by this object reference. The InterfaceDef object may be used to introspect on the methods, attributes, and other type information for the object referred to by this object reference. the InterfaceDef object in the Interface Repositorywhich provides type information about the object referred to bythis object reference



_get_policy
Policy _get_policy(int policy_type)(Code)
Returns the Policy object of the specified type which applies to this object.
Parameters:
  policy_type - the type of policy to be obtained A Policy object of the type specified by the policy_type parameter
exception:
  org.omg.CORBA.BAD_PARAM - when the value of policy type is not valid either because the specified type is not supported by this ORB or because a policy object of that type is not associated with this Object



_hash
int _hash(int maximum)(Code)
Returns an ORB-internal identifier for this object reference. This is a hash identifier, which does not change during the lifetime of the object reference, and so neither will any hash function of that identifier change. The value returned is not guaranteed to be unique; in other words, another object reference may have the same hash value. If two object references hash differently, then they are distinct object references; however, both may still refer to the same CORBA object.
Parameters:
  maximum - the upper bound on the hash value returned by the ORB the ORB-internal hash identifier for this object reference



_is_a
boolean _is_a(String repositoryIdentifier)(Code)
Checks whether this object is an instance of a class that implements the given interface.
Parameters:
  repositoryIdentifier - the interface to check against true if this object reference is an instanceof a class that implements the interface;false otherwise



_is_equivalent
boolean _is_equivalent(org.omg.CORBA.Object other)(Code)
Determines whether the two object references are equivalent, so far as the ORB can easily determine. Two object references are equivalent if they are identical. Two distinct object references which in fact refer to the same object are also equivalent. However, ORBs are not required to attempt determination of whether two distinct object references refer to the same object, since such determination could be impractically expensive.
Parameters:
  other - the other object reference with which to check for equivalence true if this object reference is known to beequivalent to the given object reference.Note that false indicates only that the twoobject references are distinct, not necessarily thatthey reference distinct objects.



_non_existent
boolean _non_existent()(Code)
Determines whether the server object for this object reference has been destroyed. true if the ORB knows authoritatively that theserver object does not exist; false otherwise



_release
void _release()(Code)
Signals that the caller is done using this object reference, so internal ORB resources associated with this object reference can be released. Note that the object implementation is not involved in this operation, and other references to the same object are not affected.



_request
Request _request(String operation)(Code)
Creates a Request instance for use in the Dynamic Invocation Interface.
Parameters:
  operation - the name of the method to be invoked using theRequest instance the newly-created Request instance



_set_policy_override
org.omg.CORBA.Object _set_policy_override(Policy[] policies, SetOverrideType set_add)(Code)
Returns a new Object with the given policies either replacing any existing policies in this Object or with the given policies added to the existing ones, depending on the value of the given SetOverrideType object.
Parameters:
  policies - an array of Policy objects containingthe policies to be added or to be used as replacements
Parameters:
  set_add - either SetOverrideType.SET_OVERRIDE, indicatingthat the given policies will replace any existing ones, orSetOverrideType.ADD_OVERRIDE, indicating thatthe given policies should be added to any existing ones a new Object with the given policies replacingor added to those in this Object



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.