railo.runtime.orm
Class ORMEngineDummy

java.lang.Object
  extended by railo.runtime.orm.ORMEngineDummy
All Implemented Interfaces:
ORMEngine

public class ORMEngineDummy
extends Object
implements ORMEngine


Field Summary
 
Fields inherited from interface railo.runtime.orm.ORMEngine
MODE_LAZY, MODE_STRICT
 
Constructor Summary
ORMEngineDummy()
           
 
Method Summary
 ORMSession createSession(PageContext pc)
           
 ORMConfiguration getConfiguration(PageContext pc)
           
 DataSource getDataSource()
           
 String[] getEntityNames()
           
 String getLabel()
           
 int getMode()
           
 Object getSessionFactory(PageContext pc)
           
 void init(PageContext pc)
           
 boolean reload(PageContext pc, boolean force)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ORMEngineDummy

public ORMEngineDummy()
Method Detail

getLabel

public String getLabel()
Specified by:
getLabel in interface ORMEngine
Returns:
returns the label of the Engine, like "Hibernate" or "Transfer"

getMode

public int getMode()
Specified by:
getMode in interface ORMEngine

createSession

public ORMSession createSession(PageContext pc)
                         throws PageException
Specified by:
createSession in interface ORMEngine
Throws:
PageException

getSessionFactory

public Object getSessionFactory(PageContext pc)
                         throws PageException
Specified by:
getSessionFactory in interface ORMEngine
Throws:
PageException

init

public void init(PageContext pc)
          throws PageException
Specified by:
init in interface ORMEngine
Throws:
PageException

getConfiguration

public ORMConfiguration getConfiguration(PageContext pc)
Specified by:
getConfiguration in interface ORMEngine

getDataSource

public DataSource getDataSource()
Specified by:
getDataSource in interface ORMEngine

getEntityNames

public String[] getEntityNames()
Specified by:
getEntityNames in interface ORMEngine

reload

public boolean reload(PageContext pc,
                      boolean force)
               throws PageException
Specified by:
reload in interface ORMEngine
Throws:
PageException


Copyright © 2012 Railo