Examples of Journal


Examples of bitronix.tm.journal.Journal

            boolean force = (resourceManager.size() > 1) && (status == Status.STATUS_COMMITTING);
            if (log.isDebugEnabled()) log.debug("changing transaction status to " + Decoder.decodeStatus(status) + (force ? " (forced)" : ""));

            int oldStatus = this.status;
            this.status = status;
            Journal journal = TransactionManagerServices.getJournal();
            journal.log(status, resourceManager.getGtrid(), uniqueNames);
            if (force) {
                journal.force();
            }

            if (status == Status.STATUS_ACTIVE)
                ManagementRegistrar.register("bitronix.tm:type=Transaction,Gtrid=" + resourceManager.getGtrid(), this);
View Full Code Here

Examples of com.cloud.utils.Journal

        if ( createNetwork && requiredOfferings.get(0).getIsPersistent() ) {
            DataCenter zone = _dcDao.findById(zoneId);
            DeployDestination dest = new DeployDestination(zone, null, null, null);
            Account callerAccount = UserContext.current().getCaller();
            UserVO callerUser = _userDao.findById(UserContext.current().getCallerUserId());
            Journal journal = new Journal.LogJournal("Implementing " + guestNetwork, s_logger);
            ReservationContext context = new ReservationContextImpl(UUID.randomUUID().toString(), journal, callerUser, callerAccount);
            s_logger.debug("Implementing network " + guestNetwork + " as a part of network provision for persistent network");
            try {
                Pair<NetworkGuru, NetworkVO> implementedNetwork = implementNetwork(guestNetwork.getId(), dest, context);
                if (implementedNetwork.first() == null) {
View Full Code Here

Examples of com.hp.hpl.jena.tdb.transaction.Journal

    static public void run(String location)
    {
        if ( false )
        {
            Journal journal = Journal.create(new Location(location)) ;
            JournalControl.print(journal) ;
            journal.close() ;
        }
        //String location = args[0]; // + "/" + UUID.randomUUID().toString();

    //String baseGraphName = "com.ibm.test.graphNamePrefix.";  
View Full Code Here

Examples of com.taskadapter.redmineapi.bean.Journal

    return result;
  }

  public static Journal parseJournal(JSONObject content) throws JSONException {
    final Journal result = JournalFactory.create(JsonInput.getInt(content, "id"));
    result.setCreatedOn(getDateOrNull(content, "created_on"));
    result.setNotes(JsonInput.getStringOrNull(content, "notes"));
    result.setUser(JsonInput.getObjectOrNull(content, "user", USER_PARSER));
    result.addDetails(JsonInput.getListOrEmpty(content, "details", JOURNAL_DETAIL_PARSER));
    return result;
  }
View Full Code Here

Examples of es.udc.tfg.journals.model.journal.Journal

  @Before
  public void setUp() throws DuplicateInstanceException {
    user = userService.registerUser("userPassword", new UserDetails("name",
        "lastName", "user@udc.es", "user"));

    journal = journalService.createJournal(new Journal(
        "experimental research", "exp res",
        "http://www.blackwellpublishing.com/journal.asp?ref=0145-6008",
        0, 0));

    journalService.createJournal(new Journal("experimental research 2",
        "exp res",
        "http://www.blackwellpublishing.com/journal.asp?ref=0145-6008",
        0, 0));
  }
View Full Code Here

Examples of it.stefanobertini.zebra.cpcl.labelmode.Journal

public class JournalTest {

    @Test
    public void test() {
  Journal command = new Journal();

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("JOURNAL");

  assertCommand(output, command);
View Full Code Here

Examples of it.stefanobertini.zebra.cpcl.linemode.Journal

public class JournalTest {

    @Test
    public void test() {
  Journal command = new Journal();

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! U1 JOURNAL");

  assertCommand(output, command);
View Full Code Here

Examples of journal.io.api.Journal

    private static final File ISSUE55_DIR = new File(Issue55Test.class.getClassLoader().getResource("issue55").getFile());

    @Test
    public void test() throws IOException {
        Journal journal = new Journal();
        journal.setDirectory(ISSUE55_DIR);
        journal.open();
        journal.close();
    }
View Full Code Here

Examples of net.sf.redmine_mylyn.api.model.Journal

    customValue.setValue(value);
    return customValue;
  }
 
  static Journal buildJournal(int id, int userId, long createdOn, String notes) throws Exception {
    Journal journal = new Journal();
    setId(journal, id);
    journal.setUserId(userId);
    journal.setCreatedOn(new Date(createdOn));
    journal.setNotes(notes);
    return journal;
  }
View Full Code Here

Examples of net.sf.xbus.base.journal.Journal

    }

    /* Logging of the sending-activity into the journal. */
    try
    {
      new Journal().log('S', destination, message);
    }
    catch (Exception t)
    {
      throw new XException(Constants.LOCATION_INTERN,
          Constants.LAYER_APPLICATION,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.