// if (getLocalList().size() != 0 || getRemoteList().size() != 0) {
if (_localList.size() != 0 || _remoteList.size() != 0) {
} else if (interfaceList.size() == 0) {
// Session bean no-interface view.
} else if (interfaceList.size() != 1)
throw new ConfigException(
L.l("'{0}' has multiple interfaces, but none are marked as @Local or @Remote.\n{1}",
type.getJavaClass().getName(), interfaceList.toString()));
else {
addLocalType(interfaceList.get(0));
}