}
public Collection<String> getRequiredResourceAdapters(String appName) {
List<String> requiredRars = new ArrayList<String>();
if (appName != null) {
ConnectorService connectorService = connectorServiceProvider.get();
//it is possible that connector-service is not yet defined in domain.xml
if (connectorService != null) {
if (appName.trim().length() > 0) {
Property property = connectorService.getProperty(appName.trim());
if (property != null) {
String requiredRarsString = property.getValue();
StringTokenizer tokenizer = new StringTokenizer(requiredRarsString, ",");
while (tokenizer.hasMoreTokens()) {
String token = tokenizer.nextToken().trim();