public interface MappingConfiguration
Implementation of this interface should be registered in the ModuleConfiguration
lookup.
| Modifier and Type | Method and Description |
|---|---|
void |
setCMPResource(String ejbName,
String jndiName)
Sets the resource for the specified CMP bean.
|
void |
setMappingInfo(OriginalCMPMapping[] mappings)
Sets the CMP mapping info for the EJB by the given name.
|
void setCMPResource(String ejbName, String jndiName) throws ConfigurationException
ejbName - name of the CMP bean.jndiName - the JNDI name of the resource.ConfigurationException - reports errors in setting the CMP resource.NullPointerException - if any of the parameters is null.void setMappingInfo(OriginalCMPMapping[] mappings) throws ConfigurationException
mappings - All the mapping info needed to be pushed in one batch.ConfigurationException - reports errors in setting the CMP mapping info.Built on June 18 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.