org.springframework.flex.core.io
Class HibernateConfigProcessor
java.lang.Object
org.springframework.flex.core.io.HibernateConfigProcessor
- All Implemented Interfaces:
- BeanFactoryAware, InitializingBean, MessageBrokerConfigProcessor
- Direct Known Subclasses:
- JpaHibernateConfigProcessor
public class HibernateConfigProcessor
- extends Object
- implements MessageBrokerConfigProcessor, BeanFactoryAware, InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateConfigProcessor
public HibernateConfigProcessor()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
processAfterStartup
public flex.messaging.MessageBroker processAfterStartup(flex.messaging.MessageBroker broker)
- Description copied from interface:
MessageBrokerConfigProcessor
- Apply this config processor to the newly created
MessageBroker after it and all of its services have been
started but before it is available for use.
- Specified by:
processAfterStartup in interface MessageBrokerConfigProcessor
- Parameters:
broker - the started MessageBroker instance
- Returns:
- the modified
MessageBroker
processBeforeStartup
public flex.messaging.MessageBroker processBeforeStartup(flex.messaging.MessageBroker broker)
- Description copied from interface:
MessageBrokerConfigProcessor
- Apply this config processor to the newly created
MessageBroker after its intial configuration settings
have been parsed from the BlazeDS XML configuration, but before it has actually been started.
- Specified by:
processBeforeStartup in interface MessageBrokerConfigProcessor
- Parameters:
broker - the new MessageBroker instance
- Returns:
- the modified
MessageBroker
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
throws BeansException
- Specified by:
setBeanFactory in interface BeanFactoryAware
- Throws:
BeansException
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
setConversionService
public void setConversionService(ConversionService conversionService)
setUseDirectFieldAccess
public void setUseDirectFieldAccess(boolean useDirectFieldAccess)
getSessionFactory
protected org.hibernate.SessionFactory getSessionFactory()
getBeanFactory
protected ListableBeanFactory getBeanFactory()
getDefaultConversionService
protected ConversionService getDefaultConversionService()
registerPropertyProxy
protected void registerPropertyProxy(SpringPropertyProxy proxy)
Copyright © 2011. All Rights Reserved.