public class RepositorySystem 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| Constructor and Description |
|---|
RepositorySystem(AbstractRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
static RepositorySystem |
createAndAddService() |
static RepositorySystem |
createAndAddService(AbstractRepository repository) |
static RepositorySystem |
getCurrent() |
static Repository |
getCurrentRepository() |
static RepositorySpi |
getCurrentRepositorySpi() |
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.
|
java.lang.String |
toString() |
destroy, getStopPriority, isActive, preCreatepublic static final int START_PRIORITY
public RepositorySystem(AbstractRepository repository)
public static RepositorySystem createAndAddService()
public static RepositorySystem createAndAddService(AbstractRepository repository)
public static RepositorySystem getCurrent()
public static Repository getCurrentRepository()
public static RepositorySpi getCurrentRepositorySpi()
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 AbstractResinSubSystempublic java.lang.String toString()
toString in class AbstractResinSubSystem