org.gcube.common.informationsystem.publisher.impl.registrations.resources
Class ISRegistryServiceHandler

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEHandler<CLIENT>
      extended by org.gcube.common.core.utils.handlers.GCUBEServiceHandler<ISRegistryClient>
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceHandler
org.gcube.common.core.utils.handlers.GCUBEServiceHandler.NoQueryResultException
 
Field Summary
protected static int DEFAULT_CALL_TIMEOUT
           
protected static int MAX_ATTEMPTS
          max publication attempts before to declare a publication failed
 
Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
handled, logger, producer
 
Constructor Summary
ISRegistryServiceHandler()
           
 
Method Summary
protected  List<org.apache.axis.message.addressing.EndpointReferenceType> findInstances()
          Finds new instances of the ISRegisty
protected  String getCacheKey()
           
 String getName()
           
 String getProfile()
           
 String getResourceID()
           
 String getResourceType()
           
 void setProfile(String profile)
           
 void setResourceID(String resourceID)
           
 void setResourceType(String resourceType)
           
 
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
 

Field Detail

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
Constructor Detail

ISRegistryServiceHandler

public ISRegistryServiceHandler()
Method Detail

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.