public interface ApplicationContainer<T>
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getClassLoader()
Returns the class loader associated with this application
|
T |
getDescriptor()
Returns the deployment descriptor associated with this application
|
default void |
initialize()
Initialize the container post-startup of Hazelcast
Used for EJB timers right now
|
boolean |
resume()
Resumes this application container.
|
boolean |
start(ApplicationContext startupContext)
Starts an application container.
|
boolean |
stop(ApplicationContext stopContext)
Stop the application container
|
boolean |
suspend()
Suspends this application container.
|
T getDescriptor()
default void initialize()
boolean start(ApplicationContext startupContext) throws Exception
startupContext
- the start up contextException
- if this application container could not be startedboolean stop(ApplicationContext stopContext)
stopContext
- boolean suspend()
boolean resume() throws Exception
Exception
- if this application container could not be
resumedClassLoader getClassLoader()
Copyright © 2020. All rights reserved.