Package com.arjuna.ats.internal.jts.recovery.recoverycoordinators

Examples of com.arjuna.ats.internal.jts.recovery.recoverycoordinators.RecoveryServiceInit


   
    public boolean startRCservice()
    {
  int orbType = ORBInfo.getOrbEnumValue();
  boolean result = false;
  RecoveryServiceInit recoveryService = null;

  String theClassName = null;
 
  // The class that should start the service shall not be called directly. An intermediate class shall be used
  try
  {
      switch (orbType)
      {
      case ORBType.ORBIX2000:
    {
        theClassName = "com.arjuna.ats.internal.jts.orbspecific.orbix2000.recoverycoordinators.Orbix2kRCServiceInit";
        recoveryService = (RecoveryServiceInit) Thread.currentThread().getContextClassLoader().loadClass(theClassName).newInstance();
        recoveryService.startRCservice();
       
        result = true;
    }
    break;
      case ORBType.JACORB:
    {
        theClassName = "com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.JacOrbRCServiceInit";
        recoveryService = (RecoveryServiceInit) Thread.currentThread().getContextClassLoader().loadClass(theClassName).newInstance();
        recoveryService.startRCservice();
       
        result = true;
    }
    break;
      default:
View Full Code Here


    public boolean startRCservice()
    {
  int orbType = ORBInfo.getOrbEnumValue();
  boolean result = false;
  RecoveryServiceInit recoveryService = null;

  String theClassName = null;

  // The class that should start the service shall not be called directly. An intermediate class shall be used
  try
  {
      switch (orbType)
      {
      case ORBType.JACORB:
    {
        theClassName = "com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.JacOrbRCServiceInit";
        recoveryService = (RecoveryServiceInit) Thread.currentThread().getContextClassLoader().loadClass(theClassName).newInstance();
        recoveryService.startRCservice();

        result = true;
    }
    break;
      default:
View Full Code Here

   
    public boolean startRCservice()
    {
  int orbType = ORBInfo.getOrbEnumValue();
  boolean result = false;
  RecoveryServiceInit recoveryService = null;

  String theClassName = null;
 
  // The class that should start the service shall not be called directly. An intermediate class shall be used
  try
  {
      switch (orbType)
      {
      case ORBType.ORBIX2000:
    {
        theClassName = "com.arjuna.ats.internal.jts.orbspecific.orbix2000.recoverycoordinators.Orbix2kRCServiceInit";
        recoveryService = (RecoveryServiceInit) Thread.currentThread().getContextClassLoader().loadClass(theClassName).newInstance();
        recoveryService.startRCservice();
       
        result = true;
    }
    break;
      case ORBType.JACORB:
    {
        theClassName = "com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.JacOrbRCServiceInit";
        recoveryService = (RecoveryServiceInit) Thread.currentThread().getContextClassLoader().loadClass(theClassName).newInstance();
        recoveryService.startRCservice();
       
        result = true;
    }
    break;
      default:
View Full Code Here

TOP

Related Classes of com.arjuna.ats.internal.jts.recovery.recoverycoordinators.RecoveryServiceInit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.