Package com.arjuna.ats.arjuna.gandiva

Examples of com.arjuna.ats.arjuna.gandiva.ClassName


    return RecordType.JTA_RECORD;
  }

  public ClassName className()
  {
    return new ClassName("RecordType.JTA_RECORD");
  }
View Full Code Here


  return null;
    }
   
    public ClassName className ()
    {
  return new ClassName("RecordType.JTA_RECORD");
    }
View Full Code Here

public class ObjectStoreTest extends Test
{

public void run(String[] args)
    {
  ClassName imple = ArjunaNames.Implementation_ObjectStore_defaultStore();
  String localOSRoot = "foo";
  String objectStoreDir = "/bar";
  String shareStatus = "OS_SHARED";

  ObjectName objName = new ObjectName("JNS:myname");
View Full Code Here

  return RecordType.USER_DEF_FIRST0;
    }

    public ClassName className ()
    {
  return new ClassName("ShutdownRecord");
    }
View Full Code Here

  return RecordType.USER_DEF_FIRST0;
    }

    public ClassName className ()
    {
  return new ClassName("BasicRecord");
    }
View Full Code Here

  {
      if (attr.charAt(0) == JNS.CLASSNAME)
      {
    try
    {
        return new ClassName(new String(attr.substring(1)));
    }
    catch (StringIndexOutOfBoundsException e)
    {
        throw new IOException("No ClassName.");
    }
View Full Code Here

  {
      if (attr.charAt(0) == PNS.CLASSNAME)
      {
    try
    {
        return new ClassName(new String(attr.substring(1)));
    }
    catch (StringIndexOutOfBoundsException e)
    {
        throw new IOException("No ClassName.");
    }
View Full Code Here

   * @return <code>ClassName</code> to identify this abstract record.
   */

  public ClassName className ()
  {
    return new ClassName("" + typeIs());
  }
View Full Code Here

    public static ClassName typeToClassName (int rt)
    {
   switch (rt)
   {
   case RecordType.LASTRESOURCE:
       return new ClassName("RecordType.LASTRESOURCE");

   case RecordType.USER_DEF_FIRST0:
       return new ClassName("RecordType.USER_DEF_FIRST0");
   case RecordType.USER_DEF_FIRST1:
       return new ClassName("RecordType.USER_DEF_FIRST1");
   case RecordType.USER_DEF_FIRST2:
       return new ClassName("RecordType.USER_DEF_FIRST2");
   case RecordType.USER_DEF_FIRST3:
       return new ClassName("RecordType.USER_DEF_FIRST3");
   case RecordType.USER_DEF_FIRST4:
       return new ClassName("RecordType.USER_DEF_FIRST4");
   case RecordType.USER_DEF_FIRST5:
       return new ClassName("RecordType.USER_DEF_FIRST5");
   case RecordType.USER_DEF_FIRST6:
       return new ClassName("RecordType.USER_DEF_FIRST6");
   case RecordType.USER_DEF_FIRST7:
       return new ClassName("RecordType.USER_DEF_FIRST7");
   case RecordType.USER_DEF_FIRST8:
       return new ClassName("RecordType.USER_DEF_FIRST8");
   case RecordType.USER_DEF_FIRST9:
       return new ClassName("RecordType.USER_DEF_FIRST9");

   case RecordType.LOCK:
       return new ClassName("RecordType.LOCK");
   case RecordType.RECOVERY:
       return new ClassName("RecordType.RECOVERY");
   case RecordType.PERSISTENCE:
       return ArjunaNames.Implementation_AbstractRecord_PersistenceRecord();
   case RecordType.TXLOG_PERSISTENCE:
       return ArjunaNames.Implementation_AbstractRecord_TxLogPersistenceRecord();
   case RecordType.CADAVER:
       return ArjunaNames.Implementation_AbstractRecord_CadaverRecord();
   case RecordType.DISPOSE:
       return ArjunaNames.Implementation_AbstractRecord_CadaverRecord_DisposeRecord();
   case RecordType.ACTIVATION:
       return new ClassName("RecordType.ACTIVATION");
   case RecordType.OTS_RECORD:
       return new ClassName("RecordType.OTS_RECORD");
   case RecordType.OTS_ABSTRACTRECORD:
       return new ClassName("RecordType.OTS_ABSTRACTRECORD");
   case RecordType.REPLICATION:
       return new ClassName("RecordType.REPLICATION");
   case RecordType.NAMING:
       return new ClassName("RecordType.NAMING");
   case RecordType.RPCCALL:
       return new ClassName("RecordType.RPCCALL");
   case RecordType.RPCINITIATE:
       return new ClassName("RecordType.RPCINITIATE");
   case RecordType.RPCTERMINATE:
       return new ClassName("RecordType.RPCTERMINATE");
   case RecordType.RPCCADAVER:
       return new ClassName("RecordType.RPCCADAVER");
         case RecordType.XTS_WSAT_RECORD:
             return new ClassName("RecordType.XTS_WSAT_RECORD");
         case RecordType.XTS_WSBA_RECORD:
             return new ClassName("RecordType.XTS_WSBA_RECORD");
   case RecordType.JTA_RECORD:
       return new ClassName("RecordType.JTA_RECORD");
   case RecordType.JTAX_RECORD:
       return new ClassName("RecordType.JTAX_RECORD");

   case RecordType.USER_DEF_LAST0:
       return new ClassName("RecordType.USER_DEF_LAST0");
   case RecordType.USER_DEF_LAST1:
       return new ClassName("RecordType.USER_DEF_LAST1");
   case RecordType.USER_DEF_LAST2:
       return new ClassName("RecordType.USER_DEF_LAST2");
   case RecordType.USER_DEF_LAST3:
       return new ClassName("RecordType.USER_DEF_LAST3");
   case RecordType.USER_DEF_LAST4:
       return new ClassName("RecordType.USER_DEF_LAST4");
   case RecordType.USER_DEF_LAST5:
       return new ClassName("RecordType.USER_DEF_LAST5");
   case RecordType.USER_DEF_LAST6:
       return new ClassName("RecordType.USER_DEF_LAST6");
   case RecordType.USER_DEF_LAST7:
       return new ClassName("RecordType.USER_DEF_LAST7");
   case RecordType.USER_DEF_LAST8:
       return new ClassName("RecordType.USER_DEF_LAST8");
   case RecordType.USER_DEF_LAST9:
       return new ClassName("RecordType.USER_DEF_LAST9");

   case RecordType.UNTYPED:
       return new ClassName("RecordType.UNTYPED");

   case RecordType.NONE_RECORD:
       return new ClassName("RecordType.NONE_RECORD");

   default:
       return null;
   }
    }
View Full Code Here

  try
  {
      ObjectStore imple = null;

      if (storeImple != null)
    imple = new ObjectStore(new ClassName(storeImple), root);
      else
    imple = new ObjectStore(root);
     
      InputObjectState types = new InputObjectState();
View Full Code Here

TOP

Related Classes of com.arjuna.ats.arjuna.gandiva.ClassName

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.