/**
   * The main function of your component. If no args are provided, then the CORBA object is not
   * bound to an SCA Domain or NamingService and can be run as a standard Java application.
   *
   * @param args
   * @generated
   */
  public static void main(String[] args) {
    final Properties orbProps = new Properties();

    // begin-user-code
    // TODO You may add extra startup code here, for example:
    // orbProps.put("com.sun.CORBA.giop.ORBFragmentSize", Integer.toString(fragSize));
    // end-user-code

    try {
      Resource.start_component(SigGen.class, args, orbProps);
    } catch (InvalidObjectReference e) {
      e.printStackTrace();
    } catch (NotFound e) {
      e.printStackTrace();
    } catch (CannotProceed e) {
      e.printStackTrace();
    } catch (InvalidName e) {
      e.printStackTrace();
    } catch (ServantNotActive e) {
      e.printStackTrace();
    } catch (WrongPolicy e) {
      e.printStackTrace();
    } catch (InstantiationException e) {
      e.printStackTrace();
    } catch (IllegalAccessException e) {
      e.printStackTrace();
    }

    // begin-user-code
    // TODO You may add extra shutdown code here
    // end-user-code
  }
 public static void main(String[] args) {
   final Properties orbProps = new Properties();
   try {
     Service.start_service(BasicService_java.class, args, orbProps);
   } catch (InvalidObjectReference e) {
     e.printStackTrace();
   } catch (InstantiationException e) {
     e.printStackTrace();
   } catch (IllegalAccessException e) {
     e.printStackTrace();
   } catch (InvocationTargetException e) {
     e.printStackTrace();
   } catch (NoSuchMethodException e) {
     logger.error(
         "Service must immplement constructor: BasicService_java(Map<String,String> execparams)");
   }
 }