gov.nih.nci.caarray.services.external.v1_0.impl
Class BaseV1_0ExternalService.EntityHandlerRegistry

java.lang.Object
  extended by gov.nih.nci.caarray.services.external.v1_0.impl.BaseV1_0ExternalService.EntityHandlerRegistry
Enclosing class:
BaseV1_0ExternalService

protected static class BaseV1_0ExternalService.EntityHandlerRegistry
extends java.lang.Object

Class to hold a registry of entity handlers, which can be looked up by class of external entity.

Author:
dkokotov

Constructor Summary
protected BaseV1_0ExternalService.EntityHandlerRegistry()
           
 
Method Summary
<T extends AbstractCaArrayEntity>
BaseV1_0ExternalService.EntityHandler<T>
getResolver(java.lang.Class<T> externalClass)
          Get the handler for given external entity class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseV1_0ExternalService.EntityHandlerRegistry

protected BaseV1_0ExternalService.EntityHandlerRegistry()
Method Detail

getResolver

public <T extends AbstractCaArrayEntity> BaseV1_0ExternalService.EntityHandler<T> getResolver(java.lang.Class<T> externalClass)
Get the handler for given external entity class.

Type Parameters:
T - type of the external entity class.
Parameters:
externalClass - the class object for the external entity type.
Returns:
the handler