summaryrefslogtreecommitdiff
path: root/org
diff options
context:
space:
mode:
authorAudrius Meskauskas <audriusa@Bioinformatics.org>2005-08-10 16:49:57 +0000
committerAudrius Meskauskas <audriusa@Bioinformatics.org>2005-08-10 16:49:57 +0000
commit38583a07647f6e36f074c7ab30f38d911ea6fb11 (patch)
tree3afcdbc3b93a08a0089aba6109870d527980ec1f /org
parent97fc6e7b084c43e20848d4ab4773477876a4c44f (diff)
downloadclasspath-38583a07647f6e36f074c7ab30f38d911ea6fb11.tar.gz
2005-08-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* org/omg/PortableInterceptor/Interceptor.java, org/omg/PortableInterceptor/InterceptorOperations.java: New files. * org/omg/DynamicAny/_DynAnyFactoryStub.java, org/omg/DynamicAny/_DynAnyStub.java, org/omg/DynamicAny/_DynArrayStub.java, org/omg/DynamicAny/_DynEnumStub.java, org/omg/DynamicAny/_DynFixedStub.java, org/omg/DynamicAny/_DynStructStub.java, org/omg/DynamicAny/_DynUnionStub.java, org/omg/DynamicAny/_DynValueStub.java, org/omg/DynamicAny/_DynSequenceStub.java: Added _opsClass field.
Diffstat (limited to 'org')
-rw-r--r--org/omg/DynamicAny/_DynAnyFactoryStub.java5
-rw-r--r--org/omg/DynamicAny/_DynAnyStub.java5
-rw-r--r--org/omg/DynamicAny/_DynArrayStub.java5
-rw-r--r--org/omg/DynamicAny/_DynEnumStub.java5
-rw-r--r--org/omg/DynamicAny/_DynFixedStub.java5
-rw-r--r--org/omg/DynamicAny/_DynSequenceStub.java5
-rw-r--r--org/omg/DynamicAny/_DynStructStub.java5
-rw-r--r--org/omg/DynamicAny/_DynUnionStub.java5
-rw-r--r--org/omg/DynamicAny/_DynValueStub.java5
-rw-r--r--org/omg/PortableInterceptor/Interceptor.java57
-rw-r--r--org/omg/PortableInterceptor/InterceptorOperations.java77
11 files changed, 179 insertions, 0 deletions
diff --git a/org/omg/DynamicAny/_DynAnyFactoryStub.java b/org/omg/DynamicAny/_DynAnyFactoryStub.java
index f47e7f82e..9a895329c 100644
--- a/org/omg/DynamicAny/_DynAnyFactoryStub.java
+++ b/org/omg/DynamicAny/_DynAnyFactoryStub.java
@@ -59,6 +59,11 @@ public class _DynAnyFactoryStub
private static final long serialVersionUID = -6575269659020082310L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynAnyFactoryOperations.class;
+
+ /**
* Create the DynAnyFactory stub.
*/
public _DynAnyFactoryStub()
diff --git a/org/omg/DynamicAny/_DynAnyStub.java b/org/omg/DynamicAny/_DynAnyStub.java
index a48dde1c4..c9bf3fb08 100644
--- a/org/omg/DynamicAny/_DynAnyStub.java
+++ b/org/omg/DynamicAny/_DynAnyStub.java
@@ -59,6 +59,11 @@ public class _DynAnyStub
private static final long serialVersionUID = -6521892777941121597L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynAnyOperations.class;
+
+ /**
* Create the DynAny stub.
*/
public _DynAnyStub()
diff --git a/org/omg/DynamicAny/_DynArrayStub.java b/org/omg/DynamicAny/_DynArrayStub.java
index f6fee37b3..f1316e905 100644
--- a/org/omg/DynamicAny/_DynArrayStub.java
+++ b/org/omg/DynamicAny/_DynArrayStub.java
@@ -57,6 +57,11 @@ public class _DynArrayStub
private static final long serialVersionUID = -6302474930370950228L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynArrayOperations.class;
+
+ /**
* Create the DynArray stub.
*/
public _DynArrayStub()
diff --git a/org/omg/DynamicAny/_DynEnumStub.java b/org/omg/DynamicAny/_DynEnumStub.java
index bce848aae..1ab585d43 100644
--- a/org/omg/DynamicAny/_DynEnumStub.java
+++ b/org/omg/DynamicAny/_DynEnumStub.java
@@ -55,6 +55,11 @@ public class _DynEnumStub
private static final long serialVersionUID = 696844314172031949L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynEnumOperations.class;
+
+ /**
* Create the DynEnum stub.
*/
public _DynEnumStub()
diff --git a/org/omg/DynamicAny/_DynFixedStub.java b/org/omg/DynamicAny/_DynFixedStub.java
index aa95b2e0c..3b9a27282 100644
--- a/org/omg/DynamicAny/_DynFixedStub.java
+++ b/org/omg/DynamicAny/_DynFixedStub.java
@@ -56,6 +56,11 @@ public class _DynFixedStub
private static final long serialVersionUID = -1932029532964417188L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynFixedOperations.class;
+
+ /**
* Create the DynFixed stub.
*/
public _DynFixedStub()
diff --git a/org/omg/DynamicAny/_DynSequenceStub.java b/org/omg/DynamicAny/_DynSequenceStub.java
index df449eeb8..7707c8409 100644
--- a/org/omg/DynamicAny/_DynSequenceStub.java
+++ b/org/omg/DynamicAny/_DynSequenceStub.java
@@ -57,6 +57,11 @@ public class _DynSequenceStub
private static final long serialVersionUID = 7191437435669107554L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynSequenceOperations.class;
+
+ /**
* Create the DynSequence stub. To get the stub working,
* you must later set the delegate with
* {@link ObjectImpl#_set_delegate(Delegate)}.
diff --git a/org/omg/DynamicAny/_DynStructStub.java b/org/omg/DynamicAny/_DynStructStub.java
index f30778856..514c1163c 100644
--- a/org/omg/DynamicAny/_DynStructStub.java
+++ b/org/omg/DynamicAny/_DynStructStub.java
@@ -57,6 +57,11 @@ public class _DynStructStub
private static final long serialVersionUID = -8415786200783826656L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynStructOperations.class;
+
+ /**
* Create the DynStruct stub. To get the stub working,
* you must later set the delegate with
* {@link ObjectImpl#_set_delegate(Delegate)}.
diff --git a/org/omg/DynamicAny/_DynUnionStub.java b/org/omg/DynamicAny/_DynUnionStub.java
index f31b110e9..a251d39c0 100644
--- a/org/omg/DynamicAny/_DynUnionStub.java
+++ b/org/omg/DynamicAny/_DynUnionStub.java
@@ -57,6 +57,11 @@ public class _DynUnionStub
private static final long serialVersionUID = -8921031953572009897L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynUnionOperations.class;
+
+ /**
* Create the DynUnion stub. To get the stub working,
* you must later set the delegate with
* {@link ObjectImpl#_set_delegate(Delegate)}.
diff --git a/org/omg/DynamicAny/_DynValueStub.java b/org/omg/DynamicAny/_DynValueStub.java
index d7996e29d..4bedee732 100644
--- a/org/omg/DynamicAny/_DynValueStub.java
+++ b/org/omg/DynamicAny/_DynValueStub.java
@@ -57,6 +57,11 @@ public class _DynValueStub
private static final long serialVersionUID = 5815313794012360824L;
/**
+ * The purpose and value of this field are not documented.
+ */
+ public static final Class _opsClass = DynValueOperations.class;
+
+ /**
* Create the DynValue stub. To get the stub working,
* you must later set the delegate with
* {@link ObjectImpl#_set_delegate(Delegate)}.
diff --git a/org/omg/PortableInterceptor/Interceptor.java b/org/omg/PortableInterceptor/Interceptor.java
new file mode 100644
index 000000000..8b0e22420
--- /dev/null
+++ b/org/omg/PortableInterceptor/Interceptor.java
@@ -0,0 +1,57 @@
+/* Interceptor.java --
+ Copyright (C) 2005 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. */
+
+
+package org.omg.PortableInterceptor;
+
+import org.omg.CORBA.Object;
+import org.omg.CORBA.portable.IDLEntity;
+
+/**
+ * Portable Interceptors are hooks into the ORB through which ORB services can
+ * intercept the normal flow of execution in creation of IOR, sending request,
+ * receiving request and returning the reply.
+ *
+ * See {@link org.omg.PortableInterceptor} for more details about the possible
+ * interceptors and how to register them within the ORB.
+ *
+ * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
+ */
+public interface Interceptor
+ extends InterceptorOperations, Object, IDLEntity
+{
+} \ No newline at end of file
diff --git a/org/omg/PortableInterceptor/InterceptorOperations.java b/org/omg/PortableInterceptor/InterceptorOperations.java
new file mode 100644
index 000000000..da08c90db
--- /dev/null
+++ b/org/omg/PortableInterceptor/InterceptorOperations.java
@@ -0,0 +1,77 @@
+/* InterceptorOperations.java --
+ Copyright (C) 2005 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. */
+
+
+package org.omg.PortableInterceptor;
+
+
+/**
+ * Defines operations, applicable for all types of {@link Interceptor}.
+ * The the derived interfaces define additional operations for they
+ * specific functionality.
+ *
+ * Portable Interceptors are hooks into the ORB through which ORB services can
+ * intercept the normal flow of execution in creation of IOR, sending request,
+ * receiving request and returning the reply.
+ *
+ * See {@link org.omg.PortableInterceptor} for more details about the possible
+ * interceptors and how to register them within the ORB.
+ *
+ * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
+ */
+public interface InterceptorOperations
+{
+ /**
+ * This method is called when orb is being destroyed and destroys
+ * the interceptor. The ORB calls this method after completing all
+ * incoming requests. The method body should not invoke methods on other
+ * object, belonging to ORB being destoryed, as in this stage it is no
+ * longer capable to act as server. It is still, however, capable
+ * to act as a client, permitting remote invocations on other objects.
+ */
+ void destroy();
+
+ /**
+ * All interceptors of the same type, registered on the single ORB, must
+ * either have different names or be anonymous. The name of the anonymous
+ * interceptor is an empty string. The ORB supports multiple anonymous
+ * interceptors of the same type.
+ *
+ * @return the name of the interceptor.
+ */
+ String name();
+} \ No newline at end of file