Calling Components

Business Components are accessed via their business interfaces. Following is an example of how to call the above component from some other business object:


			PersonFinders finders = PersonFinders.Factory.newInstance();
			int count = finders.findCountByNameType(NameTypeLookup.constants.PRIMARY);
			logger.info(count + " primary names found");