|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.informationsystem.publisher.impl.registrations.handlers.BaseISPublisherHandler
public abstract class BaseISPublisherHandler
Base implementation of a ISPublisherHandler
| Field Summary | |
|---|---|
protected static org.gcube.common.core.utils.logging.GCUBELog |
logger
|
| Constructor Summary | |
|---|---|
BaseISPublisherHandler()
|
|
| Method Summary | |
|---|---|
void |
execute()
Executes the handler |
Future<?> |
getFutureTask()
Gets the Future task that is currently executing the handler (if any) |
abstract String |
getResourceID()
Gets the identifier of the resource managed by the handler |
void |
run()
|
void |
setFutureTask(Future<?> future)
The Future task that is currently executing the handler (if any) |
protected abstract void |
submitRequest()
Submits the request for changing the resource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.gcube.common.core.utils.logging.GCUBELog logger
| Constructor Detail |
|---|
public BaseISPublisherHandler()
| Method Detail |
|---|
public void run()
run in interface Runnable
public void execute()
throws Exception
execute in interface ISPublisherHandlerException - if an error occurs during the execution of the handler
protected abstract void submitRequest()
throws Exception
Exceptionpublic abstract String getResourceID()
getResourceID in interface ISPublisherHandlerpublic Future<?> getFutureTask()
Future task that is currently executing the handler (if any)
getFutureTask in interface ISPublisherHandlerpublic void setFutureTask(Future<?> future)
Future task that is currently executing the handler (if any)
setFutureTask in interface ISPublisherHandlerfuture - the future task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||