public interface Service
Modifier and Type | Method and Description |
---|---|
void |
create()
create the service, do expensive operations etc
|
void |
destroy()
destroy the service, tear down
|
void |
start()
start the service, create is already called
|
void |
stop()
stop the service
|
void create() throws Exception
Exception
- for any errorvoid start() throws Exception
Exception
- for any errorvoid stop()
void destroy()
Copyright © 2018 JBoss by Red Hat. All rights reserved.