Skip to content

Instantly share code, notes, and snippets.

@lc-nyovchev
Last active December 13, 2018 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lc-nyovchev/d7cb77f42c50cbf891a8f70c19c49f7c to your computer and use it in GitHub Desktop.
Save lc-nyovchev/d7cb77f42c50cbf891a8f70c19c49f7c to your computer and use it in GitHub Desktop.
@Service
public class SomeService {
private final SomeDependency someDependency;
private final SomeOtherDependency someOtherDependency;
@Autowired
public SomeService(SomeDependency someDependency, SomeOtherDependency someOtherDependency) {
this.someDependency = someDependency;
this.someOtherDependency = someOtherDependency;
}
//..code
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment