Class Services
java.lang.Object
com.mrbysco.justenoughprofessions.platform.Services
This class is used to load services from the service loader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PLATFORM
The platform helper service
-
-
Constructor Details
-
Services
public Services()
-
-
Method Details
-
load
Load a service from the service loader- Type Parameters:
T- The type of the service- Parameters:
clazz- The class of the service to load- Returns:
- The loaded service
-