if (JMSClientTransport.class.isAssignableFrom(component.getClass())) {
it = new JMSClientTransportInstrumentation(
(JMSClientTransport)component);
}
if (EndpointImpl.class.isAssignableFrom(component.getClass())) {
it = new EndpointInstrumentation(
(EndpointImpl)component);
}
return it;
}