|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.beehive.controls.runtime.bean.ControlBean
org.controlhaus.hibernate.HibernateControlBean
public class HibernateControlBean
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.controlhaus.hibernate.HibernateControl |
|---|
HibernateControl.ManagedTransactions |
| Field Summary | |
|---|---|
static org.apache.beehive.controls.api.properties.PropertyKey |
ManagedTransactionsValueKey
A PropertyKey that can be used to access the value property of the ManagedTransactions PropertySet |
| Fields inherited from class org.apache.beehive.controls.runtime.bean.ControlBean |
|---|
_implClass, FactorySeparator, IDSeparator |
| Constructor Summary | |
|---|---|
|
HibernateControlBean()
This is the public null-arg constructor for this ControlBean. |
|
HibernateControlBean(org.apache.beehive.controls.api.context.ControlBeanContext context,
java.lang.String id,
org.apache.beehive.controls.api.properties.PropertyMap props)
This is the public constructor for the class. |
protected |
HibernateControlBean(org.apache.beehive.controls.api.context.ControlBeanContext context,
java.lang.String id,
org.apache.beehive.controls.api.properties.PropertyMap props,
java.lang.Class controlClass)
This is the protected version that is used by any ControlBean subclass |
| Method Summary | |
|---|---|
void |
closeSession()
Implements org.controlhaus.hibernate.HibernateControl.closeSession |
protected java.lang.String[] |
getParameterNames(java.lang.reflect.Method m)
Returns an array of parameter names for the request method, or null if no parameter data is available. |
protected java.util.Map |
getPropertyMapCache()
|
net.sf.hibernate.Session |
getSession()
Implements org.controlhaus.hibernate.HibernateControl.getSession |
net.sf.hibernate.SessionFactory |
getSessionFactory()
Implements org.controlhaus.hibernate.HibernateControl.getSessionFactory |
net.sf.hibernate.Transaction |
getTransaction()
Implements org.controlhaus.hibernate.HibernateControl.getTransaction |
boolean |
isManagedTransactionsValue()
|
void |
setManagedTransactionsValue(boolean value)
|
| Methods inherited from class org.apache.beehive.controls.runtime.bean.ControlBean |
|---|
enforceVersionRequired, ensureControl, firePropertyChange, fireVetoableChange, getAnnotationMap, getBeanContext, getBeanContextProxy, getControlBeanContext, getControlID, getControlInterface, getControlProperty, getControlService, getEventNotifier, getImplInitializer, getLocalID, getMostDerivedInterface, getPropertyChangeSupport, getRawControlProperty, getVetoableChangeSupport, isSingleThreadedBean, postInvoke, preInvoke, setBeanContext, setControlID, setControlProperty, setEventNotifier |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.apache.beehive.controls.api.properties.PropertyKey ManagedTransactionsValueKey
| Constructor Detail |
|---|
public HibernateControlBean(org.apache.beehive.controls.api.context.ControlBeanContext context,
java.lang.String id,
org.apache.beehive.controls.api.properties.PropertyMap props)
context - The containing ControlBeanContextid - The control identifier (or null to autogenerate a unique value)props - The initialization Properties for the new instance (or null for defaults)public HibernateControlBean()
protected HibernateControlBean(org.apache.beehive.controls.api.context.ControlBeanContext context,
java.lang.String id,
org.apache.beehive.controls.api.properties.PropertyMap props,
java.lang.Class controlClass)
| Method Detail |
|---|
protected java.lang.String[] getParameterNames(java.lang.reflect.Method m)
getParameterNames in class org.apache.beehive.controls.runtime.bean.ControlBean
public void closeSession()
throws net.sf.hibernate.HibernateException
closeSession in interface HibernateControlnet.sf.hibernate.HibernateExceptionpublic net.sf.hibernate.Transaction getTransaction()
getTransaction in interface HibernateControlnull.
public net.sf.hibernate.Session getSession()
throws net.sf.hibernate.HibernateException
getSession in interface HibernateControlnet.sf.hibernate.HibernateExceptionpublic net.sf.hibernate.SessionFactory getSessionFactory()
getSessionFactory in interface HibernateControlpublic void setManagedTransactionsValue(boolean value)
public boolean isManagedTransactionsValue()
protected java.util.Map getPropertyMapCache()
getPropertyMapCache in class org.apache.beehive.controls.runtime.bean.ControlBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||