Examples of addEntry()


Examples of org.eclipse.ltk.core.refactoring.RefactoringStatus.addEntry()

            if (changeCandidate == null) {
                StringBuffer strBuff = new StringBuffer(Constants.PLUGIN_NAME);
                strBuff.append(" does not support copying resource 'null' to destination '").append(
                    getRefactorModel().getDestinationPath()).append("'");
                logger.error(strBuff.toString());
                refactoringStatus.addEntry(createErrorRefactoringStatusEntry(strBuff.toString()));
                continue;
            }

            // check if resource already exists
            if (!isNameUnique(changeCandidate, monitor)) {
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.weaving.AbstractStaticWeaveOutputHandler.addEntry()

                    try {
                        Class thisClass = this.classLoader.loadClass(className);
                        // If the class is not in the classpath, we simply copy the entry
                        // to the target(no weaving).
                        if (thisClass == null){
                            swoh.addEntry(entryInputStream, newEntry);
                            continue;
                        }
                   
                        // Try to read the loaded class bytes, the class bytes is required for
                        // classtransformer to perform transfer. Simply copy entry to the target(no weaving)
View Full Code Here

Examples of org.eclipse.persistence.internal.weaving.AbstractStaticWeaveOutputHandler.addEntry()

            // Add a regular entry
            JarEntry newEntry = new JarEntry(entryName);
           
            // Ignore non-class files.
            if (!(entryName.endsWith(".class"))) {
                swoh.addEntry(entryInputStream, newEntry);
                continue;           
            }
           
            String className = PersistenceUnitProcessor.buildClassNameFromEntryString(entryName) ;
           
View Full Code Here

Examples of org.exist.versioning.svn.WorkingCopy.addEntry()

      String destPath = params[0];
     
        Resource wcDir = new Resource(collection.append(destPath));

      try {
      wc.addEntry(wcDir);
    } catch (SVNException e) {
      throw new CommandException(e);
    }
  }
}
View Full Code Here

Examples of org.exist.versioning.svn.internal.wc.admin.SVNAdminArea.addEntry()

                        // obstruction
                    }
                } else if (srcEntry.isFile()) {
                   
                    if (dstEntry == null) {
                        dstEntry = dstParentArea.addEntry(dst.getName());
                    }

                    String srcURL = srcEntry.getURL();
                    String srcCFURL = srcEntry.getCopyFromURL();
                    long srcRevision = srcEntry.getRevision();
View Full Code Here

Examples of org.fenixedu.academic.domain.log.FirstTimeCandidacyLog.addEntry()

        if (log == null) {
            log = new FirstTimeCandidacyLog(candidacy);
            candidacy.setFirstTimeCandidacyLog(log);
        }

        log.addEntry(stage, new DateTime());
    }
}
View Full Code Here

Examples of org.hibernate.engine.PersistenceContext.addEntry()

    Object version = Versioning.getVersion( values, subclassPersister );
    if ( log.isTraceEnabled() ) log.trace( "Cached Version: " + version );

    final PersistenceContext persistenceContext = session.getPersistenceContext();
    persistenceContext.addEntry(
        result,
        Status.MANAGED,
        values,
        null,
        id,
View Full Code Here

Examples of org.hibernate.engine.spi.PersistenceContext.addEntry()

      else {
        isReadOnly = session.isDefaultReadOnly();
      }
    }

    persistenceContext.addEntry(
        entity,
        ( isReadOnly ? Status.READ_ONLY : Status.MANAGED ),
        values,
        null,
        entityId,
View Full Code Here

Examples of org.infinispan.loaders.bucket.Bucket.addEntry()

   }

   private Bucket unmarshallBucket(ObjectInput input, UnmarshalledReferences references) throws IOException, ClassNotFoundException {
      Bucket b = new Bucket();
      int numEntries = readUnsignedInt(input);
      for (int i = 0; i < numEntries; i++) b.addEntry((InternalCacheEntry) unmarshallObject(input, references));
      return b;
   }

   private InternalCacheEntry unmarshallInternalCacheEntry(byte magic, ObjectInput in, UnmarshalledReferences refMap) throws IOException, ClassNotFoundException {
      Object k = unmarshallObject(in, refMap);
View Full Code Here

Examples of org.infinispan.persistence.support.Bucket.addEntry()

   }

   protected void storeInBucket(MarshalledEntry me, Integer bucketId) {
      Bucket bucket = loadBucket(bucketId);
      if (bucket != null) {
         bucket.addEntry(me.getKey(), me);
         updateBucket(bucket);
      } else {
         bucket = new Bucket(keyEquivalence);
         bucket.setBucketId(bucketId);
         bucket.addEntry(me.getKey(), me);
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.