Package com.zetaplugins.zetacore.di
Class ServiceRegistry.Builder
java.lang.Object
com.zetaplugins.zetacore.di.ServiceRegistry.Builder
- Enclosing class:
ServiceRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withClassScanner(ClassScanner scanner) Uses an existing scanner instead of creating one from the package prefix.withPackagePrefix(String packagePrefix) withPlugin(JavaPlugin plugin) withRequireServiceAnnotation(boolean requireServiceAnnotation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withPlugin
-
withRequireServiceAnnotation
-
withPackagePrefix
-
withClassScanner
Uses an existing scanner instead of creating one from the package prefix.- Parameters:
scanner- The scanner to use.- Returns:
- This builder.
-
build
-