import static java.util.Collections.emptyMap;
import static javax.ejb.TransactionAttributeType.REQUIRED;
import static org.jboss.as.ejb3.component.MethodIntf.BEAN;
public class MessageDrivenComponent extends EJBComponent implements MessageDrivenBeanComponent, PooledComponent<MessageDrivenComponentInstance> {
private final Pool<MessageDrivenComponentInstance> pool;
<BUG>private final ActivationSpec activationSpec = null;
private final MessageEndpointFactory endpointFactory;</BUG>
private final Class<?> messageListenerInterface;
private ResourceAdapter resourceAdapter;
<BUG>protected MessageDrivenComponent(final MessageDrivenComponentCreateService ejbComponentCreateService, final Class<?> messageListenerInterface) {
</BUG>
super(ejbComponentCreateService);

import static java.util.Collections.emptyMap;
import static javax.ejb.TransactionAttributeType.REQUIRED;
import static org.jboss.as.ejb3.component.MethodIntf.BEAN;
public class MessageDrivenComponent extends EJBComponent implements MessageDrivenBeanComponent, PooledComponent<MessageDrivenComponentInstance> {
private final Pool<MessageDrivenComponentInstance> pool;
private final ActivationSpec activationSpec;
private final MessageEndpointFactory endpointFactory;
private final Class<?> messageListenerInterface;
private ResourceAdapter resourceAdapter;
protected MessageDrivenComponent(final MessageDrivenComponentCreateService ejbComponentCreateService, final Class<?> messageListenerInterface, final ActivationSpec activationSpec) {
super(ejbComponentCreateService);
