container/components/components/src/main/java/org/mobicents/slee/container/component/validator/ServiceValidator.java
boolean validateCompatibilityReferenceConstraints() {

		boolean passed = true;
		String errorBuffer = new String("");

		try {
			if (!this.component.isSlee11()) {
				// A 1.0 SBB must not reference or use a 1.1 Profile
				// Specification. This must be enforced by a 1.1
				// JAIN SLEE.

				ServiceComponent specComponent = this.repository.getComponentByID(this.component.getServiceID());
				if (specComponent == null) {
					// should not happen
					passed = false;
					errorBuffer = appendToBuffer("Referenced " + this.component.getServiceID()
							+ " was not found in component repository, this should not happen since dependencies were already verified", "1.3", errorBuffer);

				} else {
					if (specComponent.isSlee11()) {
						passed = false;
						errorBuffer = appendToBuffer("Service is following 1.0 JSLEE contract, it must not reference 1.1 Sbb as root: " + this.component.getServiceID(), "1.3", errorBuffer);
					}
				}

			}
		} finally {
			if (!passed) {
				if (logger.isEnabledFor(Level.ERROR)) {
					logger.error(errorBuffer);
				}
			}

		}

		return passed;
	}
boolean validateCompatibilityReferenceConstraints() {

		boolean passed = true;
		String errorBuffer = new String("");

		try {
			if (!this.component.isSlee11()) {
				// A 1.0 SBB must not reference or use a 1.1 Profile
				// Specification. This must be enforced by a 1.1
				// JAIN SLEE.

				ServiceComponent specComponent = this.repository.getComponentByID(this.component.getServiceID());
				if (specComponent == null) {
					// should not happen
					passed = false;
					errorBuffer = appendToBuffer("Referenced " + this.component.getServiceID()
							+ " was not found in component repository, this should not happen since dependencies were already verified", "1.3", errorBuffer);

				} else {
					if (specComponent.isSlee11()) {
						passed = false;
						errorBuffer = appendToBuffer("Service is following 1.0 JSLEE contract, it must not reference 1.1 Sbb as root: " + this.component.getServiceID(), "1.3", errorBuffer);
					}
				}

			}
		} finally {
			if (!passed) {
				if (logger.isEnabledFor(Level.ERROR)) {
					logger.error(errorBuffer);
				}
			}

		}

		return passed;
	}
boolean validateCompatibilityReferenceConstraints ( ) { boolean passed = true ; String errorBuffer = new String ( "" ) ; try { if ( ! this . component . isSlee11 ( ) ) { // A 1.0 SBB must not reference or use a 1.1 Profile
 // Specification. This must be enforced by a 1.1
 // JAIN SLEE.
 ServiceComponent specComponent = this . repository . getComponentByID ( this . component . getServiceID ( ) ) ; if ( specComponent == null ) { // should not happen
 passed = false ; errorBuffer = appendToBuffer ( "Referenced " + this . component . getServiceID ( ) + " was not found in component repository, this should not happen since dependencies were already verified" , "1.3" , errorBuffer ) ; } else { if ( specComponent . isSlee11 ( ) ) { passed = false ; errorBuffer = appendToBuffer ( "Service is following 1.0 JSLEE contract, it must not reference 1.1 Sbb as root: " + this . component . getServiceID ( ) , "1.3" , errorBuffer ) ; } } } } finally { if ( ! passed ) { if ( logger . isEnabledFor ( Level . ERROR ) ) { logger . error ( errorBuffer ) ; } } } return passed ; }
See section 1.3 of jslee 1.1 specs

@return
See section 1 . 3 of jslee 1 . 1 specs