added play-framework project (#678)
* made changes to java reflection * removed redundant method makeSound in Animal abstract class * added project for play-framework article
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
334e1b3f83
commit
0835118e85
@@ -0,0 +1,13 @@
|
||||
package services;
|
||||
|
||||
/**
|
||||
* This interface demonstrates how to create a component that is injected
|
||||
* into a controller. The interface represents a counter that returns a
|
||||
* incremented number each time it is called.
|
||||
*
|
||||
* The {@link Modules} class binds this interface to the
|
||||
* {@link AtomicCounter} implementation.
|
||||
*/
|
||||
public interface Counter {
|
||||
int nextCount();
|
||||
}
|
||||
Reference in New Issue
Block a user