javadoc added to generic service