|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData
This immutable class contains information about the application
Constructor Summary | |
JDBCApplicationMetaData(ApplicationMetaData applicationMetaData,
ClassLoader classLoader)
Constructs jdbc application meta data with the data from the applicationMetaData. |
|
JDBCApplicationMetaData(Element element,
JDBCApplicationMetaData defaultValues)
Constructs application meta data with the data contained in the jboss-cmp xml element from a jbosscmp-jdbc xml file. |
Method Summary | |
JDBCEntityMetaData |
getBeanByEjbName(String name)
Gets the metadata for an entity bean by name. |
ClassLoader |
getClassLoader()
Gets the classloader for this application which is used to load all classes. |
JDBCEntityCommandMetaData |
getEntityCommandByName(String name)
Gets the entity command with the specified name |
Collection |
getRolesForEntity(String entityName)
Gets the relationship roles for the entity with the specified name. |
JDBCTypeMappingMetaData |
getTypeMappingByName(String name)
Gets the type mapping with the specified name |
Map |
getUserTypeMappings()
|
Collection |
getValueClasses()
Gets dependent value classes that are directly managed by the container. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCApplicationMetaData(ApplicationMetaData applicationMetaData, ClassLoader classLoader) throws org.jboss.deployment.DeploymentException
applicationMetaData
- the application data loaded from
the ejb-jar.xml fileclassLoader
- the ClassLoader used to load the classes
of the application
org.jboss.deployment.DeploymentException
- if an problem occures while loading
the classes or if data in the ejb-jar.xml is inconsistent
with data from jbosscmp-jdbc.xml filepublic JDBCApplicationMetaData(Element element, JDBCApplicationMetaData defaultValues) throws org.jboss.deployment.DeploymentException
element
- the xml Element which contains the metadata about
this applicationdefaultValues
- the JDBCApplicationMetaData which contains
the values
for optional elements of the element
org.jboss.deployment.DeploymentException
- if the xml element is not semantically correctMethod Detail |
public JDBCTypeMappingMetaData getTypeMappingByName(String name)
name
- the name for the type mapping
public Collection getRolesForEntity(String entityName)
entityName
- the name of the entity whos roles are returned
public Collection getValueClasses()
public ClassLoader getClassLoader()
public JDBCEntityMetaData getBeanByEjbName(String name)
name
- the name of the entity meta data to return
public JDBCEntityCommandMetaData getEntityCommandByName(String name)
name
- the name for the entity-command
public Map getUserTypeMappings()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |