Class Beans
- java.lang.Object
-
- edu.cnm.deepdive.albuquirky.configuration.Beans
-
@Configuration public class Beans extends Object
This configuration class containsJavaBeansto support the server application.
-
-
Constructor Summary
Constructors Constructor Description Beans()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.system.ApplicationHomeapplicationHome()Provides the AlbuQuirky home directory.RandombasicRandom()This method provides a new instance ofRandom.
-
-
-
Method Detail
-
basicRandom
@Bean public Random basicRandom()
This method provides a new instance ofRandom.- Returns:
- A new instance of Random.
-
applicationHome
@Bean public org.springframework.boot.system.ApplicationHome applicationHome()
Provides the AlbuQuirky home directory.- Returns:
- The home directory for AlbuQuirky.
-
-