CommandModel model;
try {
CommandModelProvider c = (CommandModelProvider) command;
model = c.getModel();
} catch(ClassCastException e) {
model = new CommandModelImpl(command.getClass());
}
org.glassfish.api.admin.ExecuteOn clAnnotation = model.getClusteringAttributes();
List<RuntimeType> runtimeTypes = new ArrayList<RuntimeType>();
if(clAnnotation == null) {
runtimeTypes.add(RuntimeType.DAS);