Examples of Repository

@source $URL$
  • org.guvnor.common.services.project.model.Repository
  • org.guvnor.structure.repositories.Repository
  • org.infoglue.cms.entities.management.Repository
  • org.jboss.gravia.repository.Repository
    A repository that contains {@link Resource resources}. @author thomas.diesler@jboss.com @since 11-May-2012
  • org.jboss.profileservice.spi.repository.Repository
    Mirror the OBR Repository @author Scott.Stark@jboss.org @version $Revision: 65457 $
  • org.jbpm.designer.repository.Repository
    Repository is responsible for managing its components that are as follows:
  • org.jdesktop.wonderland.common.modules.ModuleRepository.Repository
  • org.jfree.repository.Repository
    Creation-Date: 13.11.2006, 11:37:44 @author Thomas Morgner
  • org.jpublish.Repository
  • org.lilyproject.repository.api.Repository
    A Repository is a set of tables, tables contain records.

    This interface is here for backwards compatibility with pre-2.2 Lily versions. In Lily 2.2, the functionality has been split out over 2 new interfaces: {@link LRepository} and {@link LTable}, from which Repository extends. New code should be written against either {@link LRepository} or {@link LTable}.

    A Repository object represents one specific table within one specific named repository. It is obtained by:

  • casting the result of calling on {@link RepositoryManager#getRepository(String)} or related methodsto Repository (this will then use the default 'record' table)
  • casting the result of calling {@link LRepository#getTable(String)} to Repository.
  • For backwards compatibility, Repository extends from LTable. The methods of LTable will in this case be executed against the table for which this repository has been retrieved: either the default table called "record" or another table in case this Repository instance was cast from a call on {@link Repository#getTable(String)}.

    While Repository extends from Closeable, you don't need to call close on it. When using LilyClient, Repositories are closed as part of closing LilyClient, and when embedded in the lily-server process, the lifecycle is also managed automatically.

  • org.locationtech.geogig.repository.Repository
    A repository is a collection of commits, each of which is an archive of what the project's working tree looked like at a past date, whether on your machine or someone else's.

    It also defines HEAD (see below), which identifies the branch or commit the current working tree stemmed from. Lastly, it contains a set of branches and tags, to identify certain commits by name.

    @see WorkingTree
  • org.modeshape.jcr.api.Repository
    An extension of JCR 2.0's Repository interface, with a few ModeShape-specific enhancements.
  • org.moxie.Repository
  • org.omg.CORBA.Repository
  • org.openide.filesystems.Repository
  • org.openrdf.repository.Repository
    A Sesame repository that contains RDF data that can be queried and updated. Access to the repository can be acquired by openening a connection to it. This connection can then be used to query and/or update the contents of the repository. Depending on the implementation of the repository, it may or may not support multiple concurrent connections.

    Please note that a repository needs to be initialized before it can be used and that it should be shut down before it is discarded/garbage collected. Forgetting the latter can result in loss of data (depending on the Repository implementation)! @author Arjohn Kampman

  • org.opensolaris.opengrok.history.Repository
    An interface for an external repository. @author Trond Norbye
  • org.osgi.service.obr.Repository
    Represents a repository. @version $Revision: 1.3 $
  • org.osgi.service.repository.Repository
    A repository service that contains {@link Resource resources}.

    Repositories may be registered as services and may be used as by a resolve context during resolver operations.

    Repositories registered as services may be filtered using standard service properties. @ThreadSafe @noimplement @author $Id: 0ce322be0d7242d30e47b7f972057d90e9b57c5e $

  • org.outerj.daisy.repository.Repository
  • org.pentaho.di.repository.Repository
  • org.pentaho.reporting.libraries.repository.Repository
    A repository represents a abstract view on a filesystem. It always has a single root-entry and grants access to a repository-specific mime-registry. @author Thomas Morgner
  • org.platformlayer.images.model.Repository
  • org.ringojs.repository.Repository
    Repository represents an abstract container of resources (e.g. code, skins, ...). In addition to resources, repositories may contain other repositories, building a hierarchical structure.
  • org.sonatype.nexus.client.core.subsystem.repository.Repository
    A Nexus repository. @since 2.3
  • org.sonatype.nexus.proxy.repository.Repository
    Repository interface used by Proximity. It is an extension of ResourceStore iface, allowing to make direct RepositoryItemUid based requests which bypasses AccessManager. Also, defines some properties. @author cstamas
  • org.springframework.roo.project.Repository
    Simplified immutable representation of a repository.

    Structured after the model used by Maven and Ivy. @author Stefan Schmidt @since 1.1

  • org.stringtree.Repository
  • org.uberfire.backend.repositories.Repository
  • org.wso2.carbon.registry.core.jdbc.Repository
    Encapsulates the retrieving, storing, modifying and deleting of resources. This class only deals with the current versions of resources and it is unaware of any versioning or snapshot activity. Only the current version related tables are accessed and updated from the methods of this class.
  • se.jbee.inject.Repository
    Manages the already created instances. @author Jan Bernitt (jan@jbee.se)
  • uk.ac.osswatch.simal.model.jena.Repository

  • Examples of net.sf.collabreview.core.Repository

              int totalMicroEditsBefore = 0;
              int totalMicroEditsAfter = 0;
              int totalRevisionsBefore = 0;
              int totalRevisionsAfter = 0;
              result.append("<table border=1>\n");
              Repository repository = collabReview.getRepository();
              TreeSet<String> articles = new TreeSet<String>();
              for (ArtifactIdentifier artifactIdentifier : repository.listAllArtifacts()) {
                articles.add(artifactIdentifier.getName());
                /*articles.add("GreenIT");
                articles.add("Hydra_JF");
                articles.add("Reputationforge");
                articles.add("Issues");
                articles.add("Enocean");
                articles.add("Projekt_BRIDGE");
                articles.add("Zeitschriften-Wunschliste");*/
              }
              for (String article : articles) {
                logger.debug("Computing micro edits for article " + article);
                Artifact artifact = repository.getLatestForName(article, "");
                int beforeCount = MicroEditCastigator.countMicroEdits(repository, artifact, 3, 300 * 1000, microEditCastigatorInstallTime, surveyPeriod);
                int afterCount = MicroEditCastigator.countMicroEdits(repository, artifact, 3, 300 * 1000, microEditCastigatorInstallTime + surveyPeriod, surveyPeriod);
                totalMicroEditsBefore += beforeCount;
                totalMicroEditsAfter += afterCount;
                result.append(String.format("<tr><td>%s</td><td>%d</td><td>%d</td>", article, beforeCount, afterCount));
                for (int i = 0; i < 2 * slices; i++) {
                  int microEditCount = MicroEditCastigator.countMicroEdits(repository, artifact, 3, 300 * 1000, microEditCastigatorInstallTime + surveyPeriod - i * surveyPeriod / slices, surveyPeriod / slices);
                  microEditCounts[i] += microEditCount;
                  result.append("<td>").append(microEditCount).append("</td>");
                }
                result.append("</tr>\n");
                repository.commit();
              }
              result.append(String.format("<tr><td>Total</td><td>%d</td><td>%d</td>", totalMicroEditsBefore, totalMicroEditsAfter));
              for (int i = 0; i < 2 * slices; i++) {
                result.append("<td>").append(microEditCounts[i]).append("</td>");
              }
              result.append("</tr>\n");
              logger.debug("Counting revisions...");
              for (ArtifactIdentifier artifactIdentifier : repository.listAllArtifacts()) {
                long time = repository.getArtifact(artifactIdentifier).getDate().getTime();
                if (time > microEditCastigatorInstallTime - surveyPeriod && time < microEditCastigatorInstallTime) {
                  totalRevisionsBefore++;
                }
                if (time > microEditCastigatorInstallTime && time < microEditCastigatorInstallTime + surveyPeriod) {
                  totalRevisionsAfter++;
                }
                repository.commit();
              }
              result.append(String.format("<tr><td>Total revisions</td><td>%d</td><td>%d</td></tr>\n", totalRevisionsBefore, totalRevisionsAfter));
              result.append("</table>\n");
              logger.debug("done");
            }
    View Full Code Here

    Examples of net.sourceforge.temply.base.Repository

           
            if (_parent != null) {
                _properties.putAll(_parent.getProperties());
            }
           
            _repository = new Repository(baseDir);
            if (_parent != null) {
                _repository.addRules(_parent.getRepository().getRules());
                _repository.addFunctions(_parent.getRepository().getFunctions());
            }
           
    View Full Code Here

    Examples of npanday.registry.Repository

                throw new IOException( "NPANDAY-084-002: Repository class name must be provided: File Name = " + fileUri +
                    ", Properties = " + props.toString() );
            }

            InputStream stream;
            Repository repository;
            try
            {
                stream = new FileInputStream( fileUri );
            }
            catch ( IOException e )
            {
                stream = this.getClass().getResourceAsStream( fileUri );
            }
            String message =
                "File Name = " + fileUri + ", Repository Class = " + repositoryClass + ", Properties = " + props.toString();
            boolean optional = ( initParams.containsKey( "optional" ) &&
                ( (String) initParams.get( "optional" ) ).equalsIgnoreCase( "true" ) );
            if ( stream == null && !optional )
            {
                throw new IOException( "NPANDAY-084-003: Unable to loadRegistry config file: " + message );
            }
            else if ( stream == null && optional )
            {
                return null;
            }

            try
            {
                Class c = Class.forName( repositoryClass );
                repository = (Repository) c.newInstance();
                repository.setRepositoryRegistry( repositoryRegistry );
                repository.load( stream, props );
                repository.setSourceUri( fileUri );
            }
            catch ( NPandayRepositoryException e )
            {
                throw new NPandayRepositoryException( "NPANDAY-084-004: " + e.toString() + " : " + message, e );
            }
    View Full Code Here

    Examples of org.apache.ace.repository.Repository

            return m_context.getServiceReferences(Repository.class.getName(), filter);
        }

        @Override
        protected SortedRangeSet getRange(ServiceReference ref) throws IOException {
            Repository repository = (Repository) m_context.getService(ref);
            SortedRangeSet range = repository.getRange();
            m_context.ungetService(ref);
            return range;
        }
    View Full Code Here

    Examples of org.apache.archiva.metadata.repository.cassandra.model.Repository

        @Test
        public void testMetadataRepo()
            throws Exception
        {

            Repository r = null;
            Namespace n = null;

            try
            {
    View Full Code Here

    Examples of org.apache.aries.blueprint.di.Repository

                getSatisfiableDependenciesMap(true);
                trackServiceReferences();       
            }
        }
        private void updateUninstantiatedRecipes() {
            Repository tmpRepo = new RecipeBuilder(this, tempRecipeIdSpace).createRepository();
           
            LOGGER.debug("Updating blueprint repository");
           
            for (String name : repository.getNames()) {
                if (repository.getInstance(name) == null) {
                    LOGGER.debug("Removing uninstantiated recipe {}", new Object[] { name });
                    repository.removeRecipe(name);
                } else {
                    LOGGER.debug("Recipe {} is already instantiated", new Object[] { name });
                }
            }
           
            for (String name : tmpRepo.getNames()) {
                if (repository.getInstance(name) == null) {
                    LOGGER.debug("Adding new recipe {}", new Object[] { name });
                    Recipe r = tmpRepo.getRecipe(name);
                    if (r != null) {
                        repository.putRecipe(name, r);
                    }
                } else {
                    LOGGER.debug("Recipe {} is already instantiated and cannot be updated", new Object[] { name });
    View Full Code Here

    Examples of org.apache.avalon.cornerstone.services.store.Repository

            try
            {
                final String type = repConf.getAttribute( "type" );
                final String repID = destination + type;
                Repository reply = (Repository)m_repositories.get( repID );
                final String model = (String)repConf.getAttribute( "model" );

                if( null != reply )
                {
                    if( m_models.get( repID ).equals( model ) )
    View Full Code Here

    Examples of org.apache.avalon.repository.Repository

            assertNotNull( factory );

            CacheManager manager = (CacheManager) factory.create() ;
            assertNotNull( manager ) ;
      
            Repository repository = manager.createRepository() ;
            assertNotNull( repository ) ;
           
            Artifact artifact = Artifact.createArtifact(
              "avalon-framework", "avalon-framework-api", "4.1.5" );
            URL url = repository.getResource( artifact );
            assertNotNull( "url", url );
        }
    View Full Code Here

    Examples of org.apache.bcel.util.Repository

            JavaClass previous = nameToClassMap.put(javaClass.getClassName(), javaClass);
            if (DEBUG && previous != null) {
                System.out.println("\t==> A previous class was evicted!");
                dumpStack();
            }
            Repository tmp = org.apache.bcel.Repository.getRepository();
            if (tmp != null && tmp != this) {
                throw new IllegalStateException("Wrong/multiple BCEL repository");
            }
            if (tmp == null) {
                org.apache.bcel.Repository.setRepository(this);
    View Full Code Here

    Examples of org.apache.catalina.startup.ClassLoaderFactory.Repository

                // Check for a JAR URL repository
                try {
                    @SuppressWarnings("unused")
                    URL url = new URL(repository);
                    repositories.add(
                            new Repository(repository, RepositoryType.URL));
                    continue;
                } catch (MalformedURLException e) {
                    // Ignore
                }

                // Local repository
                if (repository.endsWith("*.jar")) {
                    repository = repository.substring
                        (0, repository.length() - "*.jar".length());
                    repositories.add(
                            new Repository(repository, RepositoryType.GLOB));
                } else if (repository.endsWith(".jar")) {
                    repositories.add(
                            new Repository(repository, RepositoryType.JAR));
                } else {
                    repositories.add(
                            new Repository(repository, RepositoryType.DIR));
                }
            }

            ClassLoader classLoader = ClassLoaderFactory.createClassLoader
                (repositories, parent);
    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.