public class Repository extends Object
CoreSession
when calling open()
.
This is obsolete as an extension point, use org.nuxeo.ecm.core.storage.sql.RepositoryService instead. Descriptor kept for backward-compatibility.
Note that this is still use as an object returned by the core api RepositoryManager.
Constructor and Description |
---|
Repository() |
Repository(String name,
String label,
Boolean isDefault,
Callable<Object> repositoryFactory) |
Modifier and Type | Method and Description |
---|---|
static void |
close(CoreSession session)
Deprecated.
since 5.9.3, use
CoreSession.close() instead. |
Boolean |
getDefault() |
String |
getLabel() |
String |
getName() |
Callable<Object> |
getRepositoryFactory() |
boolean |
isDefault() |
CoreSession |
open()
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
CoreSession |
open(Map<String,Serializable> context)
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
void |
setDefault(Boolean isDefault) |
void |
setLabel(String label) |
String |
toString() |
public Repository()
public void setDefault(Boolean isDefault)
public Boolean getDefault()
public boolean isDefault()
public Callable<Object> getRepositoryFactory()
@Deprecated public CoreSession open()
CoreInstance.openCoreSession(java.lang.String)
instead.@Deprecated public CoreSession open(Map<String,Serializable> context)
CoreInstance.openCoreSession(java.lang.String)
instead.@Deprecated public static void close(CoreSession session)
CoreSession.close()
instead.Copyright © 2017 Nuxeo. All rights reserved.