net.sf.shineframework.server.dal.dao.spring
Class DaoProxyFactoryBean

java.lang.Object
  extended by net.sf.shineframework.server.dal.dao.spring.DaoProxyFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public class DaoProxyFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean


Constructor Summary
DaoProxyFactoryBean()
           
 
Method Summary
 java.lang.String getDaoInterface()
           
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 boolean isSingleton()
           
 void setDaoInterface(java.lang.String daoInterface)
           
 void setManagedClassName(java.lang.String managedClassName)
          The managed classname.
 void setSuperClassName(java.lang.String superClassName)
          The super classname.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaoProxyFactoryBean

public DaoProxyFactoryBean()
Method Detail

getDaoInterface

public java.lang.String getDaoInterface()

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

setDaoInterface

public void setDaoInterface(java.lang.String daoInterface)

setManagedClassName

public void setManagedClassName(java.lang.String managedClassName)
The managed classname. Allows to override the guessing mechanism of the managed class. This should be used when not implementing a custom-dao interface, just using one of the pre-existing ones (Dao, NamedDao or FwDao).
The guessing mechanism:

Parameters:
managedClassName -

setSuperClassName

public void setSuperClassName(java.lang.String superClassName)
The super classname. Allows to override the guessing mechanism of the superclass. This can be used to create a custom base dao. The guessing mechanism works in the following way:

Parameters:
parentDaoClassName -


Copyright © 2007 sourceforge.net. All Rights Reserved.