Package se.jbee.inject.DIRuntimeException

Examples of se.jbee.inject.DIRuntimeException.DependencyCycleException


  private void ensureNoCycle( Injection injection )
      throws DependencyCycleException {
    for ( int i = 0; i < hierarchy.length; i++ ) {
      Injection parent = hierarchy[i];
      if ( parent.equalTo( injection ) ) {
        throw new DependencyCycleException( this, injection.getTarget().getResource() );
      }
    }
  }
View Full Code Here

TOP

Related Classes of se.jbee.inject.DIRuntimeException.DependencyCycleException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.