|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.smartgears.handlers.application.lifecycle.ProfilePublisher
public class ProfilePublisher
Publishes the current resource profile of the application.
Distinguishes publication in new scopes (#addTo(List) from publication updates in existing scopes (update().
| Constructor Summary | |
|---|---|
ProfilePublisher(ApplicationContext context)
Creates an instance for a given application. |
|
| Method Summary | |
|---|---|
void |
addTo(Collection<String> scopes)
Adds for the first time the current resource profile of the application in one or more scopes. |
void |
removeFrom(Collection<String> scopes)
Removes the application from one or more scopes. |
void |
update()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfilePublisher(ApplicationContext context)
context - the context of the application| Method Detail |
|---|
public void addTo(Collection<String> scopes)
scopes - the scopespublic void update()
public void removeFrom(Collection<String> scopes)
scopes - the scopes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||