Package org.hibernate.boot.jaxb.cfg.spi
Class JaxbCfgHibernateConfiguration
- java.lang.Object
-
- org.hibernate.boot.jaxb.cfg.spi.JaxbCfgHibernateConfiguration
-
public class JaxbCfgHibernateConfiguration extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="session-factory"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="property" type="{http://www.hibernate.org/xsd/orm/cfg}ConfigPropertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="mapping" type="{http://www.hibernate.org/xsd/orm/cfg}MappingReferenceType" maxOccurs="unbounded" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <element name="class-cache" type="{http://www.hibernate.org/xsd/orm/cfg}EntityCacheType"/> <element name="collection-cache" type="{http://www.hibernate.org/xsd/orm/cfg}CollectionCacheType"/> </choice> <element name="event" type="{http://www.hibernate.org/xsd/orm/cfg}EventListenerGroupType" maxOccurs="unbounded" minOccurs="0"/> <element name="listener" type="{http://www.hibernate.org/xsd/orm/cfg}EventListenerType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="security" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="grant" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="actions" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="entity-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="context" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JaxbCfgHibernateConfiguration.JaxbCfgSecurity
Java class for anonymous complex type.static class
JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected JaxbCfgHibernateConfiguration.JaxbCfgSecurity
security
protected JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
sessionFactory
-
Constructor Summary
Constructors Constructor Description JaxbCfgHibernateConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JaxbCfgHibernateConfiguration.JaxbCfgSecurity
getSecurity()
Gets the value of the security property.JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
getSessionFactory()
Gets the value of the sessionFactory property.void
setSecurity(JaxbCfgHibernateConfiguration.JaxbCfgSecurity value)
Sets the value of the security property.void
setSessionFactory(JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory value)
Sets the value of the sessionFactory property.
-
-
-
Field Detail
-
sessionFactory
protected JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory sessionFactory
-
security
protected JaxbCfgHibernateConfiguration.JaxbCfgSecurity security
-
-
Method Detail
-
getSessionFactory
public JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory getSessionFactory()
Gets the value of the sessionFactory property.- Returns:
- possible object is
JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
-
setSessionFactory
public void setSessionFactory(JaxbCfgHibernateConfiguration.JaxbCfgSessionFactory value)
Sets the value of the sessionFactory property.- Parameters:
value
- allowed object isJaxbCfgHibernateConfiguration.JaxbCfgSessionFactory
-
getSecurity
public JaxbCfgHibernateConfiguration.JaxbCfgSecurity getSecurity()
Gets the value of the security property.- Returns:
- possible object is
JaxbCfgHibernateConfiguration.JaxbCfgSecurity
-
setSecurity
public void setSecurity(JaxbCfgHibernateConfiguration.JaxbCfgSecurity value)
Sets the value of the security property.- Parameters:
value
- allowed object isJaxbCfgHibernateConfiguration.JaxbCfgSecurity
-
-