src/main/java/js/container/Container.java
protected void registerInstanceProcessor(InstanceProcessor instanceProcessor) {
		for (InstanceProcessor existingInstanceProcessoor : instanceProcessors) {
			if (existingInstanceProcessoor.getClass().equals(instanceProcessor.getClass())) {
				throw new BugError("Attempt to override instance processor |%s|.", instanceProcessor.getClass());
			}
		}
		log.debug("Register instance processor |%s|.", instanceProcessor.getClass());
		instanceProcessors.add(instanceProcessor);
	}
protected void registerInstanceProcessor(InstanceProcessor instanceProcessor) {
		for (InstanceProcessor existingInstanceProcessoor : instanceProcessors) {
			if (existingInstanceProcessoor.getClass().equals(instanceProcessor.getClass())) {
				throw new BugError("Attempt to override instance processor |%s|.", instanceProcessor.getClass());
			}
		}
		log.debug("Register instance processor |%s|.", instanceProcessor.getClass());
		instanceProcessors.add(instanceProcessor);
	}
protected void registerInstanceProcessor ( InstanceProcessor instanceProcessor ) { for ( InstanceProcessor existingInstanceProcessoor : instanceProcessors ) { if ( existingInstanceProcessoor . getClass ( ) . equals ( instanceProcessor . getClass ( ) ) ) { throw new BugError ( "Attempt to override instance processor |%s|." , instanceProcessor . getClass ( ) ) ; } } log . debug ( "Register instance processor |%s|." , instanceProcessor . getClass ( ) ) ; instanceProcessors . add ( instanceProcessor ) ; }
Register instance processor. Only a single instance per processor class is allowed.

@param instanceProcessor instance processor.
@throws BugError if instance processor class is already registered.
@see #instanceProcessors
Register instance processor . Only a single instance per processor class is allowed .