]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.repo/src/org/argeo/slc/repo/OsgiFactory.java
1 package org
.argeo
.slc
.repo
;
4 import javax
.jcr
.RepositoryException
;
5 import javax
.jcr
.Session
;
8 public interface OsgiFactory
{
9 public Session
openJavaSession() throws RepositoryException
;
11 public Session
openDistSession() throws RepositoryException
;
13 public void indexNode(Node node
);
16 * Provide access to a third party archive in the 'dist' repository,
17 * downloading it if it is not available.
19 public Node
getDist(Session distSession
, String uri
)
20 throws RepositoryException
;
23 * Provide access to a cached maven ardifact identified by its coordinates
24 * the 'dist' repository, downloading it if it is not available.
26 public Node
getMaven(Session distSession
, String coords
)
27 throws RepositoryException
;