
public class SimpleResourceAdapterRepository extends Object implements org.jboss.jca.core.spi.rar.ResourceAdapterRepository
| Constructor and Description |
|---|
SimpleResourceAdapterRepository()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.jca.core.spi.rar.Endpoint |
getEndpoint(String uniqueId)
Get an endpoint representation for a resource adapter
|
List<org.jboss.jca.core.spi.rar.MessageListener> |
getMessageListeners(String uniqueId)
Get a list of message listeners supported for a resource adapter
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter(String uniqueId)
Get the resource adapter instance based on the unique id
|
Set<String> |
getResourceAdapters()
Get the resource adapters unique ids registered
|
Set<String> |
getResourceAdapters(Class<?> messageListenerType)
Get the resource adapters unique ids registered which has the specified
message listener type
|
String |
registerResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Register a resource adapter
|
void |
setMetadataRepository(org.jboss.jca.core.spi.mdr.MetadataRepository v)
Set the metadata repository
|
void |
setTransactionIntegration(org.jboss.jca.core.spi.transaction.TransactionIntegration v)
Set the transaction integration
|
String |
toString()
String representation
|
void |
unregisterResourceAdapter(String key)
Unregister a resource adapter
|
public SimpleResourceAdapterRepository()
public void setMetadataRepository(org.jboss.jca.core.spi.mdr.MetadataRepository v)
v - The valuepublic void setTransactionIntegration(org.jboss.jca.core.spi.transaction.TransactionIntegration v)
v - The valuepublic String registerResourceAdapter(javax.resource.spi.ResourceAdapter ra)
registerResourceAdapter in interface org.jboss.jca.core.spi.rar.ResourceAdapterRepositoryra - The resource adapter instancepublic void unregisterResourceAdapter(String key) throws org.jboss.jca.core.spi.rar.NotFoundException
unregisterResourceAdapter in interface org.jboss.jca.core.spi.rar.ResourceAdapterRepositorykey - The key for the resource adapter instanceorg.jboss.jca.core.spi.rar.NotFoundException - Thrown if the unique id isn't registeredpublic javax.resource.spi.ResourceAdapter getResourceAdapter(String uniqueId) throws org.jboss.jca.core.spi.rar.NotFoundException
getResourceAdapter in interface org.jboss.jca.core.spi.rar.ResourceAdapterRepositoryuniqueId - An unique id that represents the deploymentorg.jboss.jca.core.spi.rar.NotFoundException - Thrown if the unique id isn't registeredpublic Set<String> getResourceAdapters()
getResourceAdapters in interface org.jboss.jca.core.spi.rar.ResourceAdapterRepositorypublic Set<String> getResourceAdapters(Class<?> messageListenerType)
getResourceAdapters in interface org.jboss.jca.core.spi.rar.ResourceAdapterRepositorymessageListenerType - The message listener typepublic org.jboss.jca.core.spi.rar.Endpoint getEndpoint(String uniqueId) throws org.jboss.jca.core.spi.rar.NotFoundException
getEndpoint in interface org.jboss.jca.core.spi.rar.ResourceAdapterRepositoryuniqueId - An unique id that represents the deploymentorg.jboss.jca.core.spi.rar.NotFoundException - Thrown if the unique id isn't registeredpublic List<org.jboss.jca.core.spi.rar.MessageListener> getMessageListeners(String uniqueId) throws org.jboss.jca.core.spi.rar.NotFoundException, InstantiationException, IllegalAccessException
getMessageListeners in interface org.jboss.jca.core.spi.rar.ResourceAdapterRepositoryuniqueId - An unique id that represents the deploymentorg.jboss.jca.core.spi.rar.NotFoundException - Thrown if the unique id isn't registeredInstantiationException - Thrown if an object couldn't createdIllegalAccessException - Thrown if object access is inaccessibleCopyright © 2013 IronJacamar (http://www.ironjacamar.org)