org.riotfamily.riot.hibernate.status
Class HqlStatusMonitor
java.lang.Object
org.riotfamily.riot.status.AbstractStatusMonitor
org.riotfamily.riot.hibernate.status.HqlStatusMonitor
- All Implemented Interfaces:
- StatusMonitor, BeanNameAware, MessageSourceAware
public class HqlStatusMonitor
- extends AbstractStatusMonitor
Method Summary |
protected Object[] |
getArgs()
Subclasses must return an array of objects which will be passed to
the MessageSource as arguments. |
void |
setHql(String hql)
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HqlStatusMonitor
public HqlStatusMonitor()
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
setHql
public void setHql(String hql)
getArgs
protected Object[] getArgs()
- Description copied from class:
AbstractStatusMonitor
- Subclasses must return an array of objects which will be passed to
the MessageSource as arguments. All arguments that are neither
primitive wrappers nor dates will be HTML-escaped automatically to
prevent XSS attacks.
- Specified by:
getArgs
in class AbstractStatusMonitor
- See Also:
FormatUtils.htmlEscapeArgs(Object[])