org.gcube.common.informationsystem.publisher.impl.registrations.resources
Class ISRegistryServiceHandler
java.lang.Object
org.gcube.common.core.utils.handlers.GCUBEHandler<CLIENT>
org.gcube.common.core.utils.handlers.GCUBEServiceHandler<ISRegistryClient>
org.gcube.common.informationsystem.publisher.impl.registrations.resources.ISRegistryServiceHandler
- All Implemented Interfaces:
- org.gcube.common.core.utils.handlers.GCUBEIHandler<ISRegistryClient>, org.gcube.common.core.utils.handlers.lifetime.Lifetime<ISRegistryClient>
- Direct Known Subclasses:
- ISRegistryServicePublisherHandler, ISRegistryServiceUnpublisherHandler, ISRegistryServiceUpdaterHandler
public abstract class ISRegistryServiceHandler
- extends org.gcube.common.core.utils.handlers.GCUBEServiceHandler<ISRegistryClient>
Base class for ISRegistry instance interaction
- Author:
- Manuele Simi (ISTI-CNR)
| Nested classes/interfaces inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceHandler |
org.gcube.common.core.utils.handlers.GCUBEServiceHandler.NoQueryResultException |
| Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler |
handled, logger, producer |
| Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceHandler |
_interact, cacheEPR, clearCachedEPR, getAttempts, getCachedEPR, getInstances, getTargetPortTypeName, interact, run, setAttempts, tryInstances |
| Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler |
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribe |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gcube.common.core.utils.handlers.lifetime.Lifetime |
getState |
| Methods inherited from interface org.gcube.common.core.utils.handlers.GCUBEIHandler |
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getScopeManager, getSecurityManager, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, subscribe, undo, unsubscribe |
MAX_ATTEMPTS
protected static final int MAX_ATTEMPTS
- max publication attempts before to declare a publication failed
- See Also:
- Constant Field Values
DEFAULT_CALL_TIMEOUT
protected static final int DEFAULT_CALL_TIMEOUT
- See Also:
- Constant Field Values
ISRegistryServiceHandler
public ISRegistryServiceHandler()
getProfile
public String getProfile()
- Returns:
- the profile
setProfile
public void setProfile(String profile)
- Parameters:
profile - the profile to set
getResourceID
public String getResourceID()
- Returns:
- the resourceID
setResourceID
public void setResourceID(String resourceID)
- Parameters:
resourceID - the resourceID to set
getResourceType
public String getResourceType()
- Returns:
- the resourceType
setResourceType
public void setResourceType(String resourceType)
- Parameters:
resourceType - the resourceType to set
findInstances
protected List<org.apache.axis.message.addressing.EndpointReferenceType> findInstances()
throws Exception
- Finds new instances of the ISRegisty
- Specified by:
findInstances in class org.gcube.common.core.utils.handlers.GCUBEServiceHandler<ISRegistryClient>
- Throws:
Exception
getCacheKey
protected String getCacheKey()
- Overrides:
getCacheKey in class org.gcube.common.core.utils.handlers.GCUBEServiceHandler<ISRegistryClient>
getName
public String getName()
- Specified by:
getName in interface org.gcube.common.core.utils.handlers.GCUBEIHandler<ISRegistryClient>- Overrides:
getName in class org.gcube.common.core.utils.handlers.GCUBEHandler<ISRegistryClient>
Copyright © 2013. All Rights Reserved.