01: package org.cougaar.qos.ResourceStatus;
02:
03: /**
04: * org/cougaar/qos/ResourceStatus/EveryQualifierFactoryPOA.java .
05: * Generated by the IDL-to-Java compiler (portable), version "3.2"
06: * from qrs.idl
07: * Tuesday, August 7, 2007 11:57:30 AM EDT
08: */
09:
10: // the set are satisfied
11: public abstract class EveryQualifierFactoryPOA extends
12: org.omg.PortableServer.Servant implements
13: org.cougaar.qos.ResourceStatus.EveryQualifierFactoryOperations,
14: org.omg.CORBA.portable.InvokeHandler {
15:
16: // Constructors
17:
18: private static java.util.Hashtable _methods = new java.util.Hashtable();
19: static {
20: _methods.put("getQualifier", new java.lang.Integer(0));
21: }
22:
23: public org.omg.CORBA.portable.OutputStream _invoke(String $method,
24: org.omg.CORBA.portable.InputStream in,
25: org.omg.CORBA.portable.ResponseHandler $rh) {
26: org.omg.CORBA.portable.OutputStream out = null;
27: java.lang.Integer __method = (java.lang.Integer) _methods
28: .get($method);
29: if (__method == null)
30: throw new org.omg.CORBA.BAD_OPERATION(0,
31: org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
32:
33: switch (__method.intValue()) {
34: case 0: // org/cougaar/qos/ResourceStatus/EveryQualifierFactory/getQualifier
35: {
36: org.cougaar.qos.ResourceStatus.Qualifier qualifiers[] = org.cougaar.qos.ResourceStatus.QualifierSetHelper
37: .read(in);
38: org.cougaar.qos.ResourceStatus.Qualifier $result = null;
39: $result = this .getQualifier(qualifiers);
40: out = $rh.createReply();
41: org.cougaar.qos.ResourceStatus.QualifierHelper.write(out,
42: $result);
43: break;
44: }
45:
46: default:
47: throw new org.omg.CORBA.BAD_OPERATION(0,
48: org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
49: }
50:
51: return out;
52: } // _invoke
53:
54: // Type-specific CORBA::Object operations
55: private static String[] __ids = {
56: "IDL:org/cougaar/qos/ResourceStatus/EveryQualifierFactory:1.0",
57: "IDL:org/cougaar/qos/ResourceStatus/QualifierFactory:1.0" };
58:
59: public String[] _all_interfaces(org.omg.PortableServer.POA poa,
60: byte[] objectId) {
61: return (String[]) __ids.clone();
62: }
63:
64: public EveryQualifierFactory _this () {
65: return EveryQualifierFactoryHelper.narrow(super ._this _object());
66: }
67:
68: public EveryQualifierFactory _this (org.omg.CORBA.ORB orb) {
69: return EveryQualifierFactoryHelper.narrow(super
70: ._this _object(orb));
71: }
72:
73: } // class EveryQualifierFactoryPOA
|