// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
package jcademo.raoutbound.multcp_cci;

import javax.resource.ResourceException;
import javax.resource.spi.ActivationSpec;
import javax.resource.spi.BootstrapContext;
import javax.resource.spi.ResourceAdapter;
import javax.resource.spi.endpoint.MessageEndpointFactory;
import javax.transaction.xa.XAResource;

// JCA Adapter
public class MulTCPAdapter implements ResourceAdapter {
	@Override
	public void start(BootstrapContext bctx) {
	}
	@Override
	public void endpointActivation(MessageEndpointFactory mepf, ActivationSpec as) {
	}
	@Override
	public void endpointDeactivation(MessageEndpointFactory mepf, ActivationSpec as) {
	}
	@Override
	public void stop() {
	}
	@Override
	public XAResource[] getXAResources(ActivationSpec[] as) throws ResourceException {
		throw new ResourceException("no XA support");
	}
	@Override
	public int hashCode() {
		return super.hashCode();
	}
	@Override
	public boolean equals(Object o) {
		return this == o;
	}
}
