
public interface MetadataRepository
| Modifier and Type | Method and Description |
|---|---|
org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar |
getIronJacamar(String uniqueId)
Get the IronJacamar metadata for a resource adapter deployment
|
Map<String,List<String>> |
getJndiMappings(String uniqueId)
Get the JNDI mappings for a unique id
|
org.jboss.jca.common.api.metadata.ra.Connector |
getResourceAdapter(String uniqueId)
Get the metadata for a resource adapter
|
Set<String> |
getResourceAdapters()
Get the resource adapters unique ids registered
|
File |
getRoot(String uniqueId)
Get the root for a resource adapter deployment
|
boolean |
hasJndiMappings(String uniqueId)
Check if there exists JNDI mappings for a unique id
|
boolean |
hasResourceAdapter(String uniqueId)
Check if there exists a resource adapter for a unique id
|
void |
registerJndiMapping(String uniqueId,
String clz,
String jndi)
Register a JNDI mapping for a unique id
|
void |
registerResourceAdapter(String uniqueId,
File root,
org.jboss.jca.common.api.metadata.ra.Connector md,
org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar ijmd)
Register a resource adapter template
|
void |
unregisterJndiMapping(String uniqueId,
String clz,
String jndi)
Unregister a JNDI mapping for a unique id
|
void |
unregisterResourceAdapter(String uniqueId)
Unregister a resource adapter template
|
void registerResourceAdapter(String uniqueId, File root, org.jboss.jca.common.api.metadata.ra.Connector md, org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar ijmd) throws AlreadyExistsException
uniqueId - An unique id that represents the deploymentroot - The deployment rootmd - The connector metadataijmd - The IronJacamar metadataAlreadyExistsException - Thrown if the unique id is already registeredvoid unregisterResourceAdapter(String uniqueId) throws NotFoundException
uniqueId - An unique id that represents the deploymentNotFoundException - Thrown if the unique id isn't registeredboolean hasResourceAdapter(String uniqueId)
uniqueId - An unique id that represents the deploymentorg.jboss.jca.common.api.metadata.ra.Connector getResourceAdapter(String uniqueId) throws NotFoundException
uniqueId - An unique id that represents the deploymentNotFoundException - Thrown if the unique id isn't registeredSet<String> getResourceAdapters()
File getRoot(String uniqueId) throws NotFoundException
uniqueId - An unique id that represents the deploymentNotFoundException - Thrown if the unique id isn't registeredorg.jboss.jca.common.api.metadata.ironjacamar.IronJacamar getIronJacamar(String uniqueId) throws NotFoundException
uniqueId - An unique id that represents the deploymentNotFoundException - Thrown if the unique id isn't registeredvoid registerJndiMapping(String uniqueId, String clz, String jndi)
uniqueId - An unique id that represents the deploymentclz - The fully qualified class namejndi - The JNDI namevoid unregisterJndiMapping(String uniqueId, String clz, String jndi) throws NotFoundException
uniqueId - An unique id that represents the deploymentclz - The fully qualified class namejndi - The JNDI nameNotFoundException - Thrown if the unique id isn't registeredboolean hasJndiMappings(String uniqueId)
uniqueId - An unique id that represents the deploymentMap<String,List<String>> getJndiMappings(String uniqueId) throws NotFoundException
uniqueId - An unique id that represents the deploymentNotFoundException - Thrown if the unique id isn't registeredCopyright © 2013 IronJacamar (http://www.ironjacamar.org)