if (!(as instanceof MDBActivationSpec)) {
LOG.fine("Ignored unknown activation spec " + as);
return;
}
MDBActivationSpec spec = (MDBActivationSpec)as;
LOG.info("CXF resource adapter is deactivating " + spec.getDisplayName());
InboundEndpoint endpoint = endpoints.remove(spec.getDisplayName());
if (endpoint != null) {
try {
endpoint.shutdown();
} catch (Exception e) {
LOG.log(Level.WARNING, "Failed to stop endpoint "
+ spec.getDisplayName(), e);
}
}
}