com.dotmarketing.business
Class Locator<T>

java.lang.Object
  extended by com.dotmarketing.business.Locator<T>
Direct Known Subclasses:
APILocator, CacheLocator, FactoryLocator, WebAPILocator

public abstract class Locator<T>
extends java.lang.Object

Locator is a base (template) class for Locator implementations.

Since:
1.6
Version:
1.6
Author:
Carlos Rivas

Field Summary
protected  java.util.Map<T,java.lang.Object> cache
           
 
Constructor Summary
protected Locator()
           
 
Method Summary
 java.lang.String audit(T enumObj)
           
protected abstract  java.lang.Object createService(T enumObj)
           
protected abstract  Locator<T> getLocatorInstance()
           
protected  java.lang.Object getServiceInstance(T enumObj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

protected java.util.Map<T,java.lang.Object> cache
Constructor Detail

Locator

protected Locator()
Method Detail

getLocatorInstance

protected abstract Locator<T> getLocatorInstance()

createService

protected abstract java.lang.Object createService(T enumObj)

getServiceInstance

protected java.lang.Object getServiceInstance(T enumObj)

audit

public java.lang.String audit(T enumObj)


Copyright © 2013 dotCMS Inc. All Rights Reserved.