001package io.ebean.service; 002 003import io.ebean.ProfileLocation; 004 005/** 006 * Factory for creating profile locations. 007 */ 008public interface SpiProfileLocationFactory { 009 010 /** 011 * Create a profile location. 012 */ 013 ProfileLocation create(); 014 015 /** 016 * Create a profile location with a line number. 017 */ 018 ProfileLocation create(int lineNumber, String label); 019 020 /** 021 * Create a known location. 022 */ 023 ProfileLocation createAt(String location); 024}