Class Repository
- java.lang.Object
-
- org.nuxeo.ecm.core.api.repository.Repository
-
public class Repository extends Object
A high-level repository descriptor, from which you get aCoreSession
when callingopen
.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 Summary
Constructors Constructor Description Repository()
Repository(String name, String label, Boolean isDefault, Boolean headless, Callable<Object> repositoryFactory, PoolConfiguration poolConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getDefault()
String
getLabel()
String
getName()
PoolConfiguration
getPoolConfig()
Callable<Object>
getRepositoryFactory()
boolean
isDefault()
boolean
isHeadless()
void
setDefault(Boolean isDefault)
void
setLabel(String label)
String
toString()
-
-
-
Method Detail
-
setLabel
public void setLabel(String label)
-
setDefault
public void setDefault(Boolean isDefault)
-
getName
public String getName()
-
getLabel
public String getLabel()
-
getDefault
public Boolean getDefault()
-
isDefault
public boolean isDefault()
-
isHeadless
public boolean isHeadless()
- Since:
- 11.2
-
getPoolConfig
public PoolConfiguration getPoolConfig()
-
-