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 org.jboss.gravia.repository.Repository

        }

        @Test
        public void testRepositoryContent() throws Exception {
            Requirement freq = new IdentityRequirementBuilder("camel.core.feature", (String) null).getRequirement();
            Repository repository = ServiceLocator.getRequiredService(Repository.class);
            Collection<Capability> providers = repository.findProviders(freq);
            Assert.assertEquals("One provider", 1, providers.size());
        }
    View Full Code Here

    Examples of org.jboss.profileservice.spi.repository.Repository

    /*     */   {
    /* 222 */     HashSet names = new HashSet();
    /* 223 */     URI uri = getDeploymentURI(phase);
    /*     */     try
    /*     */     {
    /* 226 */       Repository repo = this.delegate.getRepository(uri);
    /* 227 */       Resource[] resources = repo.getResources();
    /* 228 */       for (Resource res : resources)
    /*     */       {
    /* 230 */         if (!(res instanceof VFSDeploymentResource))
    /*     */           continue;
    /* 232 */         VFSDeploymentResource vfsres = (VFSDeploymentResource)res;
    View Full Code Here

    Examples of org.jbpm.designer.repository.Repository

            repo.delete();
        }

        @Test
        public void testSaveFormAsset() throws Exception {
            Repository repository = new VFSRepository(producer.getIoService());
            ((VFSRepository)repository).setDescriptor(descriptor);
            profile.setRepository(repository);
            AssetBuilder builder = AssetBuilderFactory.getAssetBuilder(Asset.AssetType.Text);
            builder.content("bpmn2 content")
                    .type("bpmn2")
                    .name("testprocess")
                    .location("/defaultPackage");
            String uniqueId = repository.createAsset(builder.getAsset());
            // setup parameters
            Map<String, String> params = new HashMap<String, String>();
            params.put("uuid", uniqueId);
            params.put("action", "save");
            params.put("profile", "jbpm");
            params.put("taskname", "evaluate");
            params.put("tfvalue", "this is simple task content");
            params.put("formtype", "ftl");

            TaskFormsEditorServlet taskFormsEditorServlet = new TaskFormsEditorServlet();
            taskFormsEditorServlet.setProfile(profile);

            taskFormsEditorServlet.init(new TestServletConfig(new TestServletContext(repository)));

            taskFormsEditorServlet.doPost(new TestHttpServletRequest(params), new TestHttpServletResponse());

            Collection<Asset> forms = repository.listAssets("/defaultPackage", new FilterByExtension("ftl"));
            assertNotNull(forms);
            assertEquals(1, forms.size());
            Iterator<Asset> assets = forms.iterator();

            Asset asset1 = assets.next();
            assertEquals("evaluate-taskform", asset1.getName());
            assertEquals("/defaultPackage", asset1.getAssetLocation());

            Asset<String> form1 = repository.loadAsset(asset1.getUniqueId());
            assertNotNull(form1.getAssetContent());
            assertEquals("this is simple task content", form1.getAssetContent());

        }
    View Full Code Here

    Examples of org.jdesktop.wonderland.common.modules.ModuleRepository.Repository

            }

            // Next find the list of repositories for the module. For each, find
            // out the base URL and create a new ModuleAssetRepository class to
            // represent each.
            Repository repositories[] = getRepositories(cachedModule);
            if (repositories == null) {
                logger.warning("Unable to find repository list for " +
                        getAssetURI().toExternalForm());
                return new ModuleAssetRepository[] {};
            }
    View Full Code Here

    Examples of org.jfree.repository.Repository

      }

      public String rewrite(final ContentEntity sourceDocument, final ContentEntity dataEntity)
          throws URLRewriteException
      {
        final Repository dataRepository = dataEntity.getRepository();
        if (dataRepository instanceof UrlRepository == false)
        {
          // cannot proceed ..
          throw new URLRewriteException("DataRepository is no URL-Repository.");
        }

        final UrlRepository dataUrlRepo = (UrlRepository) dataRepository;
        final String dataPath = buildPath(dataEntity);
        final URL dataItemUrl;
        try
        {
          dataItemUrl = new URL(dataUrlRepo.getURL(), dataPath);
        }
        catch (MalformedURLException e)
        {
          // cannot proceed ..
          throw new URLRewriteException("DataEntity has no valid URL.");
        }

        final Repository documentRepository = sourceDocument.getRepository();
        if (documentRepository instanceof UrlRepository == false)
        {
          // If at least the data entity has an URL, we can always fall back
          // to an global URL..
          return dataItemUrl.toExternalForm();
    View Full Code Here

    Examples of org.jpublish.Repository

            }

            // add the repositories to the context
            Iterator repositories = siteContext.getRepositories().iterator();
            while (repositories.hasNext()) {
                Repository repository = (Repository) repositories.next();
                context.put(repository.getName(), new RepositoryWrapper(repository, context));
                // add the fs_repository also as the name 'pages' so we can use existing logic in pages
                // note this is a hack and we should look at doing this a different way; but first need
                // to investigate how to get content from different repositories
                if (repository.getName().equals("fs_repository")) {
                    context.put("pages", new RepositoryWrapper(repository, context));
                }
            }

            try {
    View Full Code Here

    Examples of org.lilyproject.repository.api.Repository

            }

            @Override
            public LTable getTable(String tableName) throws InterruptedException, RepositoryException {
                if (!tableCache.containsKey(tableName)) {
                    Repository repository = (Repository) delegate.getTable(tableName);
                    TrackingTable trackingTable = new TrackingTable(repository, this);
                    tableCache.put(tableName, trackingTable);
                }
                return tableCache.get(tableName);
            }
    View Full Code Here

    Examples of org.locationtech.geogig.repository.Repository

                    index().updateStageHead(upstream.get());
                    getProgressListener().complete();
                    return true;
                }

                Repository repository = repository();
                final RevCommit headCommit = repository.getCommit(headRef.getObjectId());
                final RevCommit targetCommit = repository.getCommit(upstream.get());

                command(UpdateRef.class).setName(Ref.ORIG_HEAD).setNewValue(headCommit.getId());

                Optional<ObjectId> ancestorCommit = command(FindCommonAncestor.class)
                        .setLeft(headCommit).setRight(targetCommit)
    View Full Code Here

    Examples of org.modeshape.jcr.api.Repository

            if (path == null || path.trim().length() == 0) {
                throw new IllegalStateException("Cannot locate the jboss server dir");
            }
            final File backupDirectory = new File(path);

            Repository repository = (Repository)getRepositoryFromJndi("java:/jcr/sample");
            org.modeshape.jcr.api.Session session = repository.login();
            final RepositoryManager repoMgr = session.getWorkspace().getRepositoryManager();
            Problems problems = repoMgr.backupRepository(backupDirectory);
            if (problems.hasProblems()) {
                throw new IllegalStateException("Errors while backing up repository:" + problems.toString());
            }
    View Full Code Here

    Examples of org.moxie.Repository

          if (StringUtils.isEmpty(repositoryId)) {
            // return MoxieCache
            cache = getBuild().getSolver().getMoxieCache();
          } else {
            // get repository by identifier
            Repository repository = getBuild().getConfig().getRepository(repositoryId);
            if (repository == null) {
              throw new MoxieException("Failed to find repositoryId: {0}", repositoryId);
            }
            if (isSnapshot && !repository.allowSnapshots()) {
              if (allowSnapshots) {
                getConsole().warn("Repository \"{0}\" prohibits snapshots! Overridden by \"allowSnapshots\" attribute!", repository.toString());
              } else {
                throw new MoxieException("Repository \"{0}\" prohibits installation or deployment of snapshots!",
                  repository.toString(), repository.getRepositoryUrl());
              }
            }
            String url = repository.getRepositoryUrl();
            if (url.startsWith("file:/")) {         
              try {
                URI uri = new URI(url);
                baseDir = new File(uri);
                cache = new MavenCache(baseDir);           
    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.