public interface XProject extends Initializable, Startable, XEnvironmentListener
Modifier and Type | Method and Description |
---|---|
void |
addTransportListener(TransportListener transportListener) |
void |
addTransportSender(TransportSender transportSender) |
ClassLoader |
getClassLoader() |
<T> T |
getFeature(Class<T> clazz) |
List<XIntegrationFlow> |
getIntegrationFlows() |
XMetricsEngine |
getMetricsEngine() |
XProjectConfig |
getProjectConfig() |
XServerConfig |
getServerConfig() |
Status |
getStatus()
Returns the current status of this Project
|
List<TransportListener> |
getTransportListeners() |
List<TransportSender> |
getTransportSenders() |
void |
pauseProject()
This method can be used to pause the project.
|
CompletableFuture<Boolean> |
readyForShutdown()
This method can be used to instruct the project to get ready for a shutdown operation.
|
void |
resumeProject()
This method can be used to resume the project from a paused state
|
destroy, init
environmentChanged
XServerConfig getServerConfig()
XProjectConfig getProjectConfig()
XMetricsEngine getMetricsEngine()
List<XIntegrationFlow> getIntegrationFlows()
List<TransportListener> getTransportListeners()
List<TransportSender> getTransportSenders()
void addTransportListener(TransportListener transportListener)
void addTransportSender(TransportSender transportSender)
<T> T getFeature(Class<T> clazz)
ClassLoader getClassLoader()
void resumeProject()
void pauseProject()
CompletableFuture<Boolean> readyForShutdown()
CompletableFuture
which will be completed when the project becomes idle and ready to
be shutdownCopyright © 2016–2019 AdroitLogic. All rights reserved.