improving javadoc

This commit is contained in:
Luca Frosini 2024-11-22 17:42:24 +01:00
parent 3e4f29743c
commit 3149b6e4b3
1 changed files with 6 additions and 7 deletions

View File

@ -9,6 +9,12 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* This class is used to Manage the application initialization and shutdown per
* context; The init and shutdown methods are called one per context in which
* the app is running respectively at init and a shutdown time. It is connected
* to the app declaring it via the @ManagedBy annotation (@see RMInitializer).
*
* @author Luca Frosini (ISTI - CNR)
*/
public class ResourceManager implements ApplicationManager {
@ -22,10 +28,6 @@ public class ResourceManager implements ApplicationManager {
/**
* {@inheritDoc}
* The method discover the plugins available on classpath and their own
* supported capabilities and publish a ServiceEndpoint with the
* discovered information.
* Furthermore create/connect to DB
*/
@Override
public synchronized void onInit() {
@ -58,9 +60,6 @@ public class ResourceManager implements ApplicationManager {
/**
* {@inheritDoc}
* This function is invoked before the service will stop and unpublish the
* resource from the IS to maintain the infrastructure integrity.
* Furthermore close the connection to DB.
*/
@Override
public synchronized void onShutdown(){