org.agileclick.genorm.plugins.memcached
Class MemCachePlugin

java.lang.Object
  extended by org.agileclick.genorm.TemplateHelper
      extended by org.agileclick.genorm.plugins.memcached.MemCachePlugin
All Implemented Interfaces:
GenPlugin, QueryPlugin

public class MemCachePlugin
extends TemplateHelper
implements QueryPlugin


Field Summary
static java.lang.String MEMCACHED_CLIENT_PROPERTY
           
 
Constructor Summary
MemCachePlugin()
           
 
Method Summary
 java.lang.String getQueryBody(java.util.Map<java.lang.String,java.lang.Object> attributes)
           
 java.util.Set<java.lang.String> getQueryImplements(java.util.Map<java.lang.String,java.lang.Object> attributes)
           
 java.util.Set<java.lang.String> getQueryImports(java.util.Map<java.lang.String,java.lang.Object> attributes)
           
 java.lang.String getQueryRecordBody(java.util.Map<java.lang.String,java.lang.Object> attributes)
           
 java.util.Set<java.lang.String> getQueryRecordImplements(java.util.Map<java.lang.String,java.lang.Object> attributes)
           
 void init(org.dom4j.Element e, java.util.Properties config)
          Called to initialize the plugin
 
Methods inherited from class org.agileclick.genorm.TemplateHelper
conditionalWriteTemplate, conditionalWriteTemplate, loadTemplateGroup, readResource, setDestinationDir, writeTemplate, writeTemplate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MEMCACHED_CLIENT_PROPERTY

public static final java.lang.String MEMCACHED_CLIENT_PROPERTY
See Also:
Constant Field Values
Constructor Detail

MemCachePlugin

public MemCachePlugin()
               throws java.io.IOException
Throws:
java.io.IOException
Method Detail

init

public void init(org.dom4j.Element e,
                 java.util.Properties config)
Description copied from interface: GenPlugin
Called to initialize the plugin

Specified by:
init in interface GenPlugin
Parameters:
e - The <plugin> is passed so other options and parameters can be parsed by the plugin
config - Configuration options that were provided in the XML or from the command line

getQueryImports

public java.util.Set<java.lang.String> getQueryImports(java.util.Map<java.lang.String,java.lang.Object> attributes)
Specified by:
getQueryImports in interface QueryPlugin

getQueryImplements

public java.util.Set<java.lang.String> getQueryImplements(java.util.Map<java.lang.String,java.lang.Object> attributes)
Specified by:
getQueryImplements in interface QueryPlugin

getQueryRecordImplements

public java.util.Set<java.lang.String> getQueryRecordImplements(java.util.Map<java.lang.String,java.lang.Object> attributes)
Specified by:
getQueryRecordImplements in interface QueryPlugin

getQueryBody

public java.lang.String getQueryBody(java.util.Map<java.lang.String,java.lang.Object> attributes)
Specified by:
getQueryBody in interface QueryPlugin

getQueryRecordBody

public java.lang.String getQueryRecordBody(java.util.Map<java.lang.String,java.lang.Object> attributes)
Specified by:
getQueryRecordBody in interface QueryPlugin