}
public CXFInvocationHandler createHandlers(Object target, Subject subject)
throws ResourceAdapterInternalException {
CXFInvocationHandler first = null;
CXFInvocationHandler last = null;
// Create data member
CXFInvocationHandlerData data = new CXFInvocationHandlerDataImpl();
data.setBus(bus);
data.setManagedConnection(managedConnection);
data.setSubject(subject);
data.setTarget(target);
for (int i = 0; i < handlerChainTypes.length; i++) {
CXFInvocationHandler newHandler;
try {
Constructor newHandlerConstructor = handlerChainTypes[i]
.getDeclaredConstructor(new Class[] {CXFInvocationHandlerData.class});
newHandler = (CXFInvocationHandler)newHandlerConstructor.newInstance(new Object[] {data});
} catch (Exception ex) {