|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.enterprise.connectors.ActiveResourceAdapterImpl
com.sun.enterprise.connectors.ActiveOutboundResourceAdapter
com.sun.enterprise.connectors.inbound.ActiveInboundResourceAdapterImpl
@Service(name="ActiveInboundResourceAdapter") @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public class ActiveInboundResourceAdapterImpl
Represents the active (runtime) inbound resource-adapter
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.connectors.ActiveOutboundResourceAdapter |
|---|
_logger, bootStrapContextImpl, resourceadapter_ |
| Fields inherited from class com.sun.enterprise.connectors.ActiveResourceAdapterImpl |
|---|
connectionDefs_, connectorRuntime_, desc_, jcl_, moduleName_ |
| Constructor Summary | |
|---|---|
ActiveInboundResourceAdapterImpl()
|
|
| Method Summary | |
|---|---|
void |
addEndpointFactoryInfo(java.lang.String id,
MessageEndpointFactoryInfo info)
Adds endpoint factory information. |
void |
destroy()
Destroys default pools and resources. |
java.util.Collection<MessageEndpointFactoryInfo> |
getAllEndpointFactories()
Retrieves the information about all endpoint factories. |
java.util.Set |
getAllEndpointFactoryInfo()
|
MessageEndpointFactoryInfo |
getEndpointFactoryInfo(java.lang.String id)
Returns information about endpoint factory. |
boolean |
handles(ConnectorDescriptor cd,
java.lang.String moduleName)
|
void |
init(ResourceAdapter ra,
ConnectorDescriptor desc,
java.lang.String moduleName,
java.lang.ClassLoader jcl)
Creates an active inbound resource adapter. |
void |
removeEndpointFactoryInfo(java.lang.String id)
Removes information about an endpoint factory |
void |
updateMDBRuntimeInfo(EjbMessageBeanDescriptor descriptor_,
BeanPoolDescriptor poolDescriptor)
update MDB container runtime properties |
void |
validateActivationSpec(ActivationSpec spec)
validate the activation-spec |
| Methods inherited from class com.sun.enterprise.connectors.ActiveOutboundResourceAdapter |
|---|
addAdminObject, createManagedConnectionFactory, getBootStrapContext, getResourceAdapter, loadRAConfiguration, mergeRAConfiguration, setup, startResourceAdapter |
| Methods inherited from class com.sun.enterprise.connectors.ActiveResourceAdapterImpl |
|---|
createAllConnectorResources, createDefaultConnectorConnectionPools, createDefaultConnectorResources, createManagedConnectionFactories, deleteDefaultConnectorConnectionPools, deleteDefaultConnectorResources, destroyAllConnectorResources, getClassLoader, getDescriptor, getModuleName, instantiateMCF, isServer, isSystemRar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.enterprise.connectors.ActiveResourceAdapter |
|---|
createManagedConnectionFactories, createManagedConnectionFactory, getClassLoader, getDescriptor, getModuleName, getResourceAdapter, setup |
| Constructor Detail |
|---|
public ActiveInboundResourceAdapterImpl()
| Method Detail |
|---|
public void init(ResourceAdapter ra,
ConnectorDescriptor desc,
java.lang.String moduleName,
java.lang.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.
- Throws:
ConnectorRuntimeException - If there is a failure in loading
or starting the resource adapter.public void destroy()
destroy in interface ActiveResourceAdapterdestroy in class ActiveOutboundResourceAdapterpublic java.util.Collection<MessageEndpointFactoryInfo> getAllEndpointFactories()
Collection of MessageEndpointFactory
objects.public MessageEndpointFactoryInfo getEndpointFactoryInfo(java.lang.String id)
getEndpointFactoryInfo in interface ActiveInboundResourceAdapterid - Id of the endpoint factory.
MessageEndpointFactoryIndo object.
public void updateMDBRuntimeInfo(EjbMessageBeanDescriptor descriptor_,
BeanPoolDescriptor poolDescriptor)
throws ConnectorRuntimeException
ActiveInboundResourceAdapter
updateMDBRuntimeInfo in interface ActiveInboundResourceAdapterdescriptor_ - MessageBean DescriptorpoolDescriptor - Bean pool descriptor
ConnectorRuntimeExceptionpublic void validateActivationSpec(ActivationSpec spec)
ActiveInboundResourceAdapter
validateActivationSpec in interface ActiveInboundResourceAdapterspec - activation-specpublic java.util.Set getAllEndpointFactoryInfo()
public boolean handles(ConnectorDescriptor cd,
java.lang.String moduleName)
handles in interface ActiveResourceAdapterhandles in class ActiveOutboundResourceAdapter
public void addEndpointFactoryInfo(java.lang.String id,
MessageEndpointFactoryInfo info)
addEndpointFactoryInfo in interface ActiveInboundResourceAdapterid - Unique identifier of the endpoint factory.info - MessageEndpointFactoryInfo object.public void removeEndpointFactoryInfo(java.lang.String id)
removeEndpointFactoryInfo in interface ActiveInboundResourceAdapterid - Unique identifier of the endpoint factory to be
removed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||