public class VoteService extends AbstractResinSubSystem
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 |
|---|
VoteService(AbstractVoteManager voteManager) |
| Modifier and Type | Method and Description |
|---|---|
static VoteService |
createAndAddService(AbstractVoteManager voteManager) |
static VoteService |
getCurrent() |
AbstractVoteManager |
getManager() |
void |
start()
Starts the service.
|
void |
stop()
Stops the service.
|
destroy, getStartPriority, getStopPriority, isActive, preCreate, toStringpublic VoteService(AbstractVoteManager voteManager)
public static VoteService createAndAddService(AbstractVoteManager voteManager)
public static VoteService getCurrent()
public AbstractVoteManager getManager()
public void start()
ResinSubSystemstart in interface ResinSubSystemstart in class AbstractResinSubSystempublic void stop()
ResinSubSystemstop in interface ResinSubSystemstop in class AbstractResinSubSystem