@Singleton @Requires(missingBeans=EmbeddedApplication.class) public class MessagingApplication extends Object implements EmbeddedApplication<MessagingApplication>, Described
EmbeddedApplication that gets activated for messaging applications when
 no other application is present.| Constructor and Description | 
|---|
| MessagingApplication(ApplicationContext applicationContext,
                    ApplicationConfiguration configuration)Constructs a new messaging application. | 
| Modifier and Type | Method and Description | 
|---|---|
| ApplicationConfiguration | getApplicationConfiguration() | 
| ApplicationContext | getApplicationContext()Resolves the  ApplicationContextfor this class. | 
| String | getDescription()A description that describes this object. | 
| boolean | isRunning() | 
| boolean | isServer()This method returns whether the application is a server application or not. | 
| MessagingApplication | start()Starts the lifecyle component. | 
| MessagingApplication | stop()Stops the life cycle component. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnvironment, isForceExitgetDescriptionpublic MessagingApplication(ApplicationContext applicationContext, ApplicationConfiguration configuration)
applicationContext - The contextconfiguration - The configurationpublic ApplicationContext getApplicationContext()
ApplicationContextProviderApplicationContext for this class.getApplicationContext in interface ApplicationContextProvidergetApplicationContext in interface EmbeddedApplication<MessagingApplication>ApplicationContext for the serverpublic ApplicationConfiguration getApplicationConfiguration()
getApplicationConfiguration in interface EmbeddedApplication<MessagingApplication>ApplicationConfiguration instancepublic boolean isRunning()
public boolean isServer()
EmbeddedApplicationisServer in interface EmbeddedApplication<MessagingApplication>public MessagingApplication start()
LifeCyclestart in interface ApplicationContextLifeCycle<MessagingApplication>start in interface LifeCyclepublic MessagingApplication stop()
LifeCyclestop in interface ApplicationContextLifeCycle<MessagingApplication>stop in interface LifeCyclepublic String getDescription()
DescribedgetDescription in interface Described