|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetadataRepository

The SPI for the metadata repository
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 metadata
AlreadyExistsException - Thrown if the unique id is already registered
void unregisterResourceAdapter(String uniqueId)
throws NotFoundException
uniqueId - An unique id that represents the deployment
NotFoundException - Thrown if the unique id isn't registeredboolean hasResourceAdapter(String uniqueId)
uniqueId - An unique id that represents the deployment
org.jboss.jca.common.api.metadata.ra.Connector getResourceAdapter(String uniqueId)
throws NotFoundException
uniqueId - An unique id that represents the deployment
NotFoundException - Thrown if the unique id isn't registeredSet<String> getResourceAdapters()
File getRoot(String uniqueId)
throws NotFoundException
uniqueId - An unique id that represents the deployment
NotFoundException - Thrown if the unique id isn't registered
org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar getIronJacamar(String uniqueId)
throws NotFoundException
uniqueId - An unique id that represents the deployment
NotFoundException - Thrown if the unique id isn't registered
void registerJndiMapping(String uniqueId,
String clz,
String jndi)
uniqueId - An unique id that represents the deploymentclz - The fully qualified class namejndi - The JNDI name
void unregisterJndiMapping(String uniqueId,
String clz,
String jndi)
throws NotFoundException
uniqueId - An unique id that represents the deploymentclz - The fully qualified class namejndi - The JNDI name
NotFoundException - Thrown if the unique id isn't registeredboolean hasJndiMappings(String uniqueId)
uniqueId - An unique id that represents the deployment
Map<String,List<String>> getJndiMappings(String uniqueId)
throws NotFoundException
uniqueId - An unique id that represents the deployment
NotFoundException - Thrown if the unique id isn't registered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||