@Service(name="ActiveInboundResourceAdapter") @PerLookup public class ActiveInboundResourceAdapterImpl extends ActiveOutboundResourceAdapter implements ActiveInboundResourceAdapter
_logger, bootStrapContextImpl, resourceadapter_connectionDefs_, connectorRuntime_, desc_, jcl_, moduleName_| Constructor and Description |
|---|
ActiveInboundResourceAdapterImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEndpointFactoryInfo(String id,
MessageEndpointFactoryInfo info)
Adds endpoint factory information.
|
void |
destroy()
Destroys default pools and resources.
|
Collection<MessageEndpointFactoryInfo> |
getAllEndpointFactories()
Retrieves the information about all endpoint factories.
|
Set |
getAllEndpointFactoryInfo() |
MessageEndpointFactoryInfo |
getEndpointFactoryInfo(String id)
Returns information about endpoint factory.
|
boolean |
handles(ConnectorDescriptor cd,
String moduleName)
Indicates whether a particular implementation of ActiveRA can handle the RAR in question.
|
void |
init(javax.resource.spi.ResourceAdapter ra,
ConnectorDescriptor desc,
String moduleName,
ClassLoader jcl)
Creates an active inbound resource adapter.
|
void |
removeEndpointFactoryInfo(String id)
Removes information about an endpoint factory
|
void |
updateMDBRuntimeInfo(EjbMessageBeanDescriptor descriptor_,
BeanPoolDescriptor poolDescriptor)
update MDB container runtime properties
|
void |
validateActivationSpec(javax.resource.spi.ActivationSpec spec)
validate the activation-spec
|
addAdminObject, createManagedConnectionFactory, getBootStrapContext, getResourceAdapter, loadRAConfiguration, mergeRAConfiguration, setup, startResourceAdaptercreateAllConnectorResources, createDefaultConnectorConnectionPools, createDefaultConnectorResources, createManagedConnectionFactories, deleteDefaultConnectorConnectionPools, deleteDefaultConnectorResources, destroyAllConnectorResources, getClassLoader, getDescriptor, getModuleName, instantiateMCF, isServer, isSystemRarclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateManagedConnectionFactories, createManagedConnectionFactory, getClassLoader, getDescriptor, getModuleName, getResourceAdapter, setuppublic void init(javax.resource.spi.ResourceAdapter ra,
ConnectorDescriptor desc,
String moduleName,
ClassLoader jcl)
throws ConnectorRuntimeException
init in interface ActiveResourceAdapterinit in class ActiveOutboundResourceAdapterra - ResourceAdapter java bean.desc - ConnectorDescriptor object.moduleName - Resource adapter module name.jcl - ClassLoader instance.ConnectorRuntimeException - If there is a failure in loading
or starting the resource adapter.public void destroy()
destroy in interface ActiveResourceAdapterdestroy in class ActiveOutboundResourceAdapterpublic Collection<MessageEndpointFactoryInfo> getAllEndpointFactories()
Collection of MessageEndpointFactory
objects.public MessageEndpointFactoryInfo getEndpointFactoryInfo(String id)
getEndpointFactoryInfo in interface ActiveInboundResourceAdapterid - Id of the endpoint factory.MessageEndpointFactoryIndo object.public void updateMDBRuntimeInfo(EjbMessageBeanDescriptor descriptor_, BeanPoolDescriptor poolDescriptor) throws ConnectorRuntimeException
ActiveInboundResourceAdapterupdateMDBRuntimeInfo in interface ActiveInboundResourceAdapterdescriptor_ - MessageBean DescriptorpoolDescriptor - Bean pool descriptorConnectorRuntimeExceptionpublic void validateActivationSpec(javax.resource.spi.ActivationSpec spec)
ActiveInboundResourceAdaptervalidateActivationSpec in interface ActiveInboundResourceAdapterspec - activation-specpublic Set getAllEndpointFactoryInfo()
public boolean handles(ConnectorDescriptor cd, String moduleName)
handles in interface ActiveResourceAdapterhandles in class ActiveOutboundResourceAdaptercd - ConnectorDescriptormoduleName - resource adapter namepublic void addEndpointFactoryInfo(String id, MessageEndpointFactoryInfo info)
addEndpointFactoryInfo in interface ActiveInboundResourceAdapterid - Unique identifier of the endpoint factory.info - MessageEndpointFactoryInfo object.public void removeEndpointFactoryInfo(String id)
removeEndpointFactoryInfo in interface ActiveInboundResourceAdapterid - Unique identifier of the endpoint factory to be
removed.Copyright © 2019. All rights reserved.