container/profiles/src/main/java/org/mobicents/slee/container/profile/ProfileQueryHandler.java
public static Collection<ProfileLocalObject> handle(
			ProfileTableImpl profileTable, String queryName, Object[] arguments)
			throws NullPointerException, TransactionRequiredLocalException, SLEEException,
			UnrecognizedQueryNameException, AttributeTypeMismatchException,
			InvalidArgumentException {
		return profileTable.getProfilesByStaticQuery(queryName, arguments);
	}
public static Collection<ProfileLocalObject> handle(
			ProfileTableImpl profileTable, String queryName, Object[] arguments)
			throws NullPointerException, TransactionRequiredLocalException, SLEEException,
			UnrecognizedQueryNameException, AttributeTypeMismatchException,
			InvalidArgumentException {
		return profileTable.getProfilesByStaticQuery(queryName, arguments);
	}
Method that does lookup and creates PLOs

@param profileTable
@param queryName
@param arguments
@return
@throws InvalidArgumentException
@throws AttributeTypeMismatchException
@throws UnrecognizedQueryNameException
@throws SLEEException
@throws NullPointerException