improving javadoc
This commit is contained in:
parent
3e4f29743c
commit
3149b6e4b3
|
@ -9,6 +9,12 @@ import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
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)
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
*/
|
*/
|
||||||
public class ResourceManager implements ApplicationManager {
|
public class ResourceManager implements ApplicationManager {
|
||||||
|
@ -22,10 +28,6 @@ public class ResourceManager implements ApplicationManager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@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
|
@Override
|
||||||
public synchronized void onInit() {
|
public synchronized void onInit() {
|
||||||
|
@ -58,9 +60,6 @@ public class ResourceManager implements ApplicationManager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@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
|
@Override
|
||||||
public synchronized void onShutdown(){
|
public synchronized void onShutdown(){
|
||||||
|
|
Loading…
Reference in New Issue