container/services/src/main/java/org/mobicents/slee/container/management/ServiceManagementImpl.java
public boolean isRAEntityLinkNameReferenced(String raLinkName) {
		if (raLinkName == null) {
			throw new NullPointerException("null ra link name");
		}

		boolean b = false;
		try {
			b = transactionManager.requireTransaction();
			for (ServiceID serviceID : componentRepositoryImpl.getServiceIDs()) {
				ServiceComponent serviceComponent = componentRepositoryImpl
						.getComponentByID(serviceID);
				if (serviceComponent.getServiceState() != ServiceState.INACTIVE
						&& serviceComponent.getResourceAdaptorEntityLinks(
								componentRepositoryImpl).contains(raLinkName)) {
					return true;
				}
			}
			return false;
		} finally {
			try {
				transactionManager.requireTransactionEnd(b, false);
			} catch (Throwable ex) {
				throw new SLEEException(ex.getMessage(), ex);
			}
		}
	}
public boolean isRAEntityLinkNameReferenced(String raLinkName) {
		if (raLinkName == null) {
			throw new NullPointerException("null ra link name");
		}

		boolean b = false;
		try {
			b = transactionManager.requireTransaction();
			for (ServiceID serviceID : componentRepositoryImpl.getServiceIDs()) {
				ServiceComponent serviceComponent = componentRepositoryImpl
						.getComponentByID(serviceID);
				if (serviceComponent.getServiceState() != ServiceState.INACTIVE
						&& serviceComponent.getResourceAdaptorEntityLinks(
								componentRepositoryImpl).contains(raLinkName)) {
					return true;
				}
			}
			return false;
		} finally {
			try {
				transactionManager.requireTransactionEnd(b, false);
			} catch (Throwable ex) {
				throw new SLEEException(ex.getMessage(), ex);
			}
		}
	}
public boolean isRAEntityLinkNameReferenced ( String raLinkName ) { if ( raLinkName == null ) { throw new NullPointerException ( "null ra link name" ) ; } boolean b = false ; try { b = transactionManager . requireTransaction ( ) ; for ( ServiceID serviceID : componentRepositoryImpl . getServiceIDs ( ) ) { ServiceComponent serviceComponent = componentRepositoryImpl . getComponentByID ( serviceID ) ; if ( serviceComponent . getServiceState ( ) != ServiceState . INACTIVE && serviceComponent . getResourceAdaptorEntityLinks ( componentRepositoryImpl ) . contains ( raLinkName ) ) { return true ; } } return false ; } finally { try { transactionManager . requireTransactionEnd ( b , false ) ; } catch ( Throwable ex ) { throw new SLEEException ( ex . getMessage ( ) , ex ) ; } } }
Verifies if the specified ra entity link name is referenced by a non
inactive service.

@param raLinkName
@return
Verifies if the specified ra entity link name is referenced by a non inactive service .