}
public Object getConnection(CXFConnectionParam param) throws ResourceException {
if (param.getInterface() == null) {
throw new ResourceAdapterInternalException(new Message("INTERFACE_IS_NULL", BUNDLE).toString());
}
if (!param.getInterface().isInterface()) {
throw new ResourceAdapterInternalException(new Message("IS_NOT_AN_INTERFACE",
BUNDLE, param.getInterface()).toString());
}
CXFConnectionRequestInfo reqInfo = (CXFConnectionRequestInfo) param;