public class LocalRepositoryService extends AbstractResinSubSystem
| Modifier and Type | Field and Description |
|---|---|
static int |
START_PRIORITY |
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DATABASE_SYSTEM, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER, STOP_PRIORITY_CLASSLOADER| Modifier and Type | Method and Description |
|---|---|
static LocalRepositoryService |
createAndAddService() |
static LocalRepositoryService |
getCurrent() |
Repository |
getRepository() |
RepositorySpi |
getRepositorySpi() |
int |
getStartPriority()
Returns the start priority of the service, used to determine which
services to start first.
|
void |
start()
Starts the service.
|
void |
stop()
Stops the service.
|
destroy, getStopPriority, isActive, preCreate, toStringpublic static final int START_PRIORITY
public static LocalRepositoryService createAndAddService()
public static LocalRepositoryService getCurrent()
public Repository getRepository()
public RepositorySpi getRepositorySpi()
public int getStartPriority()
ResinSubSystemgetStartPriority in interface ResinSubSystemgetStartPriority in class AbstractResinSubSystempublic void start()
ResinSubSystemstart in interface ResinSubSystemstart in class AbstractResinSubSystempublic void stop()
ResinSubSystemstop in interface ResinSubSystemstop in class AbstractResinSubSystem