コード例 #1
0
 public static ServerRunning extract(org.omg.CORBA.Any any) {
   if (any.type().equivalent(type())) return read(any.create_input_stream());
   else
     throw new org.omg.CORBA.BAD_OPERATION(
         org.apache.yoko.orb.OB.MinorCodes.describeBadOperation(
             org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
         org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch,
         org.omg.CORBA.CompletionStatus.COMPLETED_NO);
 }
コード例 #2
0
 /**
  * Extract ExceptionPretNotDeleted from an any
  *
  * @param a an any
  * @return the extracted ExceptionPretNotDeleted value
  */
 public static LivreEnLigne.ExceptionPretNotDeleted extract(org.omg.CORBA.Any a) {
   if (!a.type().equal(type())) throw new org.omg.CORBA.MARSHAL();
   if (HAS_OPENORB && a instanceof org.openorb.CORBA.Any) {
     // streamable extraction. The jdk stubs incorrectly define the Any stub
     org.openorb.CORBA.Any any = (org.openorb.CORBA.Any) a;
     try {
       org.omg.CORBA.portable.Streamable s = any.extract_Streamable();
       if (s instanceof LivreEnLigne.ExceptionPretNotDeletedHolder)
         return ((LivreEnLigne.ExceptionPretNotDeletedHolder) s).value;
     } catch (org.omg.CORBA.BAD_INV_ORDER ex) {
     }
     LivreEnLigne.ExceptionPretNotDeletedHolder h =
         new LivreEnLigne.ExceptionPretNotDeletedHolder(read(a.create_input_stream()));
     a.insert_Streamable(h);
     return h.value;
   }
   return read(a.create_input_stream());
 }
コード例 #3
0
 /**
  * Extract IndexOutOfRange from an any
  *
  * @param a an any
  * @return the extracted IndexOutOfRange value
  */
 public static org.coach.tracing.api.IndexOutOfRange extract(org.omg.CORBA.Any a) {
   if (!a.type().equal(type())) throw new org.omg.CORBA.MARSHAL();
   if (HAS_OPENORB && a instanceof org.openorb.CORBA.Any) {
     // streamable extraction. The jdk stubs incorrectly define the Any stub
     org.openorb.CORBA.Any any = (org.openorb.CORBA.Any) a;
     try {
       org.omg.CORBA.portable.Streamable s = any.extract_Streamable();
       if (s instanceof org.coach.tracing.api.IndexOutOfRangeHolder)
         return ((org.coach.tracing.api.IndexOutOfRangeHolder) s).value;
     } catch (org.omg.CORBA.BAD_INV_ORDER ex) {
     }
     org.coach.tracing.api.IndexOutOfRangeHolder h =
         new org.coach.tracing.api.IndexOutOfRangeHolder(read(a.create_input_stream()));
     a.insert_Streamable(h);
     return h.value;
   }
   return read(a.create_input_stream());
 }
コード例 #4
0
  public static DayOfTheWeek extract(org.omg.CORBA.Any any) {
    if (any instanceof es.tid.CORBA.Any) {
      try {
        org.omg.CORBA.portable.Streamable holder = ((es.tid.CORBA.Any) any).extract_Streamable();
        if (holder instanceof DayOfTheWeekHolder) {
          return ((DayOfTheWeekHolder) holder).value;
        }
      } catch (Exception e) {
      }
    }

    return read(any.create_input_stream());
  };
コード例 #5
0
ファイル: HelloHelper.java プロジェクト: mlbb220/Rich-test
 public static HelloApp_Sun.Hello extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #6
0
 public static org.omg.PortableInterceptor.ORBInitInfoPackage.DuplicateName extract(
     org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #7
0
 public static com.sun.corba.se.PortableActivationIDL.Locator extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #8
0
 public static org.omg.DynamicAny.NameValuePair[] extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #9
0
ファイル: TCPPortHelper.java プロジェクト: size-of-world/test
 public static int extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #10
0
 public static org.omg.Security.RequiresSupports extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #11
0
 public static nsdb.NucFeature[] extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #12
0
 public static com.sun.corba.se.spi.activation.InitialNameService extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #13
0
 public static org.omg.PortableServer.POAPackage.WrongAdapter extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #14
0
 public static org.omg.CosNaming.BindingIterator extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #15
0
 public static org.omg.IOP.TaggedComponent[] extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #16
0
ファイル: file_typeHelper.java プロジェクト: jianfeipan/TB
 public static files.file_type extract(final org.omg.CORBA.Any any) {
   return read(any.create_input_stream());
 }
コード例 #17
0
 public static Persistent.Hello extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #18
0
ファイル: RoleHelper.java プロジェクト: jmwillkie/mdcp
 public static org.smpte.st2071._2014.security.Role extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #19
0
 public static com.sun.corba.se.spi.activation.ServerAlreadyUninstalled extract(
     org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #20
0
ファイル: PropertyHelper.java プロジェクト: mh3ry/lleme
 public static corbaObjects.scs.Property extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #21
0
 public static CorbaDropbox.MessageServer extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #22
0
ファイル: DynSequenceHelper.java プロジェクト: eonezhang/xyz
 public static org.omg.DynamicAny.DynSequence extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #23
0
 public static org.omg.CosNaming.NamingContextPackage.AlreadyBound extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #24
0
 public static org.omg.CosNaming.NamingContextExtPackage.InvalidAddress extract(
     org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #25
0
 public static java.lang.String[] extract(final org.omg.CORBA.Any any) {
   return read(any.create_input_stream());
 }
コード例 #26
0
 public static org.omg.DynamicAny.DynAnyPackage.TypeMismatch extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #27
0
 public static Router[] extract(org.omg.CORBA.Any any) {
   if (any.type().equivalent(type())) return read(any.create_input_stream());
   else throw new org.omg.CORBA.BAD_OPERATION();
 }
コード例 #28
0
 public static org.omg.PortableServer.ServantLocator extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #29
0
 public static ggt.Starter[] extract(org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }
コード例 #30
0
 public static org.jboss.com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescription[] extract(
     org.omg.CORBA.Any a) {
   return read(a.create_input_stream());
 }