public interface MetadataRepository
Modifier and Type | Method and Description |
---|---|
Activation |
getActivation(String uniqueId)
Get the Activation metadata for a resource adapter deployment
|
Map<String,List<String>> |
getJndiMappings(String uniqueId)
Get the JNDI mappings for a unique id
|
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,
Connector md,
Activation a)
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, Connector md, 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(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 deploymentConnector 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 registeredActivation getActivation(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 © 2021 JBoss by Red Hat. All rights reserved.