added resolver interface for external use (e.g. eclipse)