|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Applications
Holds one or more Applications
| Method Summary | |
|---|---|
void |
addLifecycleListener(ApplicationLifecycleEventListener eventListener)
Allows to add a ApplicationLifecycleEventListener. |
Application |
getApplication(String name)
Returns the Application for 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 Application keyed by their respective names. |
int |
getSize()
Returns the number of currently deployed Applications. |
boolean |
isEmpty()
Returns true if 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. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface org.openspaces.admin.AdminAware |
|---|
getAdmin |
| Method Detail |
|---|
int 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.
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||