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