org.gcube.smartgears.handlers.container.lifecycle
Class ProfileManager
java.lang.Object
org.gcube.common.clients.stubs.jaxws.handlers.AbstractHandler
org.gcube.smartgears.handlers.container.ContainerHandler
org.gcube.smartgears.handlers.container.lifecycle.ProfileManager
- All Implemented Interfaces:
- org.gcube.common.clients.stubs.jaxws.handlers.CallHandler, Handler<ContainerLifecycleEvent>
public class ProfileManager
- extends ContainerHandler
Manages the resource profile of the container.
The manager:
- creates the profile when the container starts for the first time;
- loads the profile when the container restarts;
- publishes the profile when the container becomes active, and at any lifecycle change thereafter;
- stores the profile locally after each publication;
- Author:
- Fabio Simeoni
- See Also:
ProfileBuilder
| Methods inherited from class org.gcube.common.clients.stubs.jaxws.handlers.AbstractHandler |
addHeader, handleRequest, handleResponse |
ProfileManager
public ProfileManager()
onStart
public void onStart(ContainerLifecycleEvent.Start e)
- Description copied from class:
ContainerHandler
- Invoked when the container starts.
- Overrides:
onStart in class ContainerHandler
- Parameters:
e - the event
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.