public interface Applications extends Iterable<Application>, AdminAware
Applications| Modifier and Type | Method and Description | 
|---|---|
| void | addLifecycleListener(ApplicationLifecycleEventListener eventListener)Allows to add a  ApplicationLifecycleEventListener. | 
| Application | getApplication(String name)Returns the  Applicationfor the given processing
 unit name. | 
| ApplicationAddedEventManager | getApplicationAdded()Returns an event manager allowing to register  ApplicationAddedEventListeners. | 
| ApplicationRemovedEventManager | getApplicationRemoved()Returns an event manager allowing to register  ProcessingUnitRemovedEventListeners. | 
| Application[] | getApplications()Returns the  Applications currently deployed. | 
| Map<String,Application> | getNames()Returns a map of  Applicationkeyed by their
 respective names. | 
| int | getSize()Returns the number of currently deployed  Applications. | 
| boolean | isEmpty()Returns  trueif there are no currently deployed applications. | 
| void | removeLifecycleListener(ApplicationLifecycleEventListener eventListener)Allows to remove a  ApplicationLifecycleEventListener. | 
| Application | waitFor(String applicationName)Waits indefinitely till the application is identified as deployed. | 
| Application | waitFor(String applicationName,
       long timeout,
       TimeUnit timeUnit)Waits for the specified timeout (in time interval) till the application is identified as
 deployed. | 
forEach, iterator, spliteratorgetAdminint getSize()
Applications.boolean isEmpty()
true if there are no currently deployed applications.Application[] getApplications()
Applications currently deployed.Application getApplication(String name)
Application for the given processing
 unit name.Map<String,Application> getNames()
Application keyed by their
 respective names.Application waitFor(String applicationName)
Application.Application waitFor(String applicationName, long timeout, TimeUnit timeUnit)
Application. Return
 null if the application is not deployed within the specified timeout.ApplicationAddedEventManager getApplicationAdded()
ApplicationAddedEventListeners.ApplicationRemovedEventManager getApplicationRemoved()
ProcessingUnitRemovedEventListeners.void addLifecycleListener(ApplicationLifecycleEventListener eventListener)
ApplicationLifecycleEventListener.void removeLifecycleListener(ApplicationLifecycleEventListener eventListener)
ApplicationLifecycleEventListener.Copyright © GigaSpaces.