net.sf.oness.user.model.spring
Class SessionFactoryPostProcessor

java.lang.Object
  extended bynet.sf.oness.user.model.spring.SessionFactoryPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

Deprecated. Use mappingDirectoryLocations in session factory to avoid defining each module mappingResources

public class SessionFactoryPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor

Postprocess an Hibernate LocalSessionFactoryBeanto add user mapping resources.

Version:
$Revision: 1.2 $
Author:
Carlos Sanchez

Constructor Summary
SessionFactoryPostProcessor()
          Deprecated.  
 
Method Summary
 java.util.List getMappingResources()
          Deprecated.  
 java.util.List getUserMappingResources()
          Deprecated.  
 java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String name)
          Deprecated.  
 java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String name)
          Deprecated.  
 void setMappingResources(java.util.List mappingResources)
          Deprecated.  
 void setUserMappingResources(java.util.List userMappingResources)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionFactoryPostProcessor

public SessionFactoryPostProcessor()
Deprecated. 
Method Detail

setMappingResources

public void setMappingResources(java.util.List mappingResources)
Deprecated. 
Parameters:
mappingResources - The mappingResources to set.

getMappingResources

public java.util.List getMappingResources()
Deprecated. 
Returns:
Returns the mappingResources.

setUserMappingResources

public void setUserMappingResources(java.util.List userMappingResources)
Deprecated. 
Parameters:
userMappingResources - The userMappingResources to set.

getUserMappingResources

public java.util.List getUserMappingResources()
Deprecated. 
Returns:
Returns the userMappingResources.

postProcessBeforeInitialization

public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
                                                        java.lang.String name)
                                                 throws org.springframework.beans.BeansException
Deprecated. 
Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException
See Also:
BeanPostProcessor.postProcessBeforeInitialization(java.lang.Object, java.lang.String)

postProcessAfterInitialization

public java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
                                                       java.lang.String name)
                                                throws org.springframework.beans.BeansException
Deprecated. 
Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException
See Also:
BeanPostProcessor.postProcessAfterInitialization(java.lang.Object, java.lang.String)


Copyright © 2003-2005 ONess Project. All Rights Reserved.