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, toString
public VoteService(AbstractVoteManager voteManager)
public static VoteService createAndAddService(AbstractVoteManager voteManager)
public static VoteService getCurrent()
public AbstractVoteManager getManager()
public void start()
ResinSubSystem
start
in interface ResinSubSystem
start
in class AbstractResinSubSystem
public void stop()
ResinSubSystem
stop
in interface ResinSubSystem
stop
in class AbstractResinSubSystem