return status;
}
private ResourceAdapterConfig createConfigBean(Resources param, Properties properties) throws PropertyVetoException,
TransactionFailure {
ResourceAdapterConfig newResource = param.createChild(ResourceAdapterConfig.class);
newResource.setResourceAdapterName(raName);
if(threadPoolIds != null) {
newResource.setThreadPoolIds(threadPoolIds);
}
newResource.setObjectType(objectType);
if (name != null) {
newResource.setName(name);
}
if (properties != null) {
for ( Map.Entry e : properties.entrySet()) {
Property prop = newResource.createChild(Property.class);
prop.setName((String)e.getKey());
prop.setValue((String)e.getValue());
newResource.getProperty().add(prop);
}
}
return newResource;
}