- get() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigRef
-
- get(Class<T>) - Method in class com.peterphi.std.guice.common.serviceprops.ConfigRef
-
- get(Iterable<Object>) - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyBindingSite
-
- get(String) - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyRegistry
-
- get() - Method in class com.peterphi.std.guice.common.serviceprops.typed.TypedConfigRef
-
- getAccessRefuser() - Method in interface com.peterphi.std.guice.common.auth.iface.CurrentUser
-
- getAll() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyRegistry
-
- getAnnotatedClasses(Class<? extends Annotation>, Predicate<Class<?>>) - Method in class com.peterphi.std.guice.common.ClassScanner
-
- getAnnotatedClasses(Class<? extends Annotation>) - Method in class com.peterphi.std.guice.common.ClassScanner
-
- getApplicationProperties() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyRegistry
-
- getBackoff(int) - Method in interface com.peterphi.std.guice.common.retry.retry.backoff.BackoffStrategy
-
Get the time to wait after the attemptth failure
- getBackoff(int) - Method in class com.peterphi.std.guice.common.retry.retry.backoff.ExponentialBackoff
-
- getBackoff(int) - Method in class com.peterphi.std.guice.common.retry.retry.backoff.NoBackoffStrategy
-
- getBinaryResource(String) - Method in interface com.peterphi.std.guice.common.resource.iface.ResourceProvider
-
Loads a binary resource
- getBinaryResource(String) - Method in class com.peterphi.std.guice.common.resource.impl.ClasspathResourceProvider
-
- getBinaryResource(String) - Method in class com.peterphi.std.guice.common.resource.impl.FilesystemResourceProviderImpl
-
- getBindings() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationProperty
-
- getBoundValues() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationProperty
-
- getBuilder() - Method in class com.peterphi.std.guice.apploader.impl.GuiceRegistry
-
- getCalls() - Method in class com.peterphi.std.guice.common.daemon.GuiceRecurringDaemon
-
- getClasses(String, boolean, Predicate<Class<?>>) - Method in class com.peterphi.std.guice.common.ClassScanner
-
Find all the classes in a package
- getClasses(String, boolean) - Method in class com.peterphi.std.guice.common.ClassScanner
-
Find all the classes in a package
- getConfiguration() - Method in class com.peterphi.std.guice.common.serviceprops.ServicePropertiesModule
-
- getConstructionTime() - Method in class com.peterphi.std.guice.common.ClassScanner
-
- getDaemons() - Method in class com.peterphi.std.guice.common.daemon.GuiceDaemonRegistry
-
- getDescription() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyBindingSite
-
Get a description (from a @Doc annotation, if one is present)
- getDocumentation() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationProperty
-
- getExceptions() - Method in class com.peterphi.std.guice.common.daemon.GuiceRecurringDaemon
-
- getFrameworkProperties() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyRegistry
-
- getHealthCheckRegistry() - Method in class com.peterphi.std.guice.common.metrics.CoreMetricsModule
-
- getHrefs() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationProperty
-
- getHrefs() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyBindingSite
-
- getImplementations(Class<T>) - Method in class com.peterphi.std.guice.common.ClassScanner
-
Find all implementations of an interface (if an interface is provided) or extensions (if a class is provided)
- getImplementations(Class<T>, Predicate<Class<? extends T>>) - Method in class com.peterphi.std.guice.common.ClassScanner
-
Find filtered implementations of an interface (if an interface is provided) or extensions (if a class is provided)
- getInheritedAnnotatedClasses(Class<? extends Annotation>, Predicate<Class<?>>) - Method in class com.peterphi.std.guice.common.ClassScanner
-
- getInheritedAnnotatedClasses(Class<? extends Annotation>) - Method in class com.peterphi.std.guice.common.ClassScanner
-
- getInjector() - Method in class com.peterphi.std.guice.apploader.impl.GuiceRegistry
-
- getInstance() - Method in class com.peterphi.std.guice.common.ClassScannerFactory
-
- getLastRan() - Method in class com.peterphi.std.guice.common.daemon.GuiceRecurringDaemon
-
- getList() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigRef
-
- getLocalEndpoint() - Method in interface com.peterphi.std.guice.serviceregistry.LocalEndpointDiscovery
-
Get the endpoint of the local webapp
- getLocalServices() - Static method in class com.peterphi.std.guice.serviceregistry.index.IndexableServiceRegistry
-
- getMetricNewInstanceCount() - Method in class com.peterphi.std.guice.common.ClassScannerFactory
-
- getMetricRegistry() - Method in class com.peterphi.std.guice.common.metrics.CoreMetricsModule
-
- getName() - Method in interface com.peterphi.std.guice.common.auth.iface.CurrentUser
-
Get the name of the current user
- getName() - Method in class com.peterphi.std.guice.common.daemon.GuiceDaemon
-
- getName() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationProperty
-
- getName() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyBindingSite
-
- getObject() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigRef
-
- getOverrideConfiguration() - Method in class com.peterphi.std.guice.common.serviceprops.ServicePropertiesModule
-
- getOwner() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyBindingSite
-
- getPropertyResource(String) - Method in interface com.peterphi.std.guice.common.resource.iface.ResourceProvider
-
Loads a resource containing a property file
- getPropertyResource(String) - Method in class com.peterphi.std.guice.common.resource.impl.ClasspathResourceProvider
-
- getPropertyResource(String) - Method in class com.peterphi.std.guice.common.resource.impl.FilesystemResourceProviderImpl
-
- getRecurring() - Method in class com.peterphi.std.guice.common.daemon.GuiceDaemonRegistry
-
Return a list of all
- getRemoteServices() - Static method in class com.peterphi.std.guice.serviceregistry.index.IndexableServiceRegistry
-
- getResourceClass() - Method in class com.peterphi.std.guice.serviceregistry.rest.RestResource
-
- getResources() - Static method in class com.peterphi.std.guice.serviceregistry.rest.RestResourceRegistry
-
- getRevision() - Static method in class com.peterphi.std.guice.serviceregistry.index.IndexableServiceRegistry
-
- getRevision() - Static method in class com.peterphi.std.guice.serviceregistry.rest.RestResourceRegistry
-
- getSearchTime() - Method in class com.peterphi.std.guice.common.ClassScanner
-
- getShutdownManager() - Method in class com.peterphi.std.guice.common.shutdown.ShutdownModule
-
- getSiblingClasses(Class<?>, boolean, Predicate<Class<?>>) - Method in class com.peterphi.std.guice.common.ClassScanner
-
Find all the classes that are siblings of the provided class
- getSleepTime() - Method in class com.peterphi.std.guice.common.daemon.GuiceRecurringDaemon
-
- getStringArray() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigRef
-
- getTextResource(String) - Method in interface com.peterphi.std.guice.common.resource.iface.ResourceProvider
-
Loads a text resource.
- getTextResource(String) - Method in class com.peterphi.std.guice.common.resource.impl.ClasspathResourceProvider
-
- getTextResource(String) - Method in class com.peterphi.std.guice.common.resource.impl.FilesystemResourceProviderImpl
-
- getThreadName() - Method in class com.peterphi.std.guice.common.daemon.GuiceDaemon
-
- getType() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationProperty
-
- getType() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationPropertyBindingSite
-
- getUsername() - Method in interface com.peterphi.std.guice.common.auth.iface.CurrentUser
-
Get the username of the current user
- getValue() - Method in class com.peterphi.std.guice.common.serviceprops.ConfigurationProperty
-
- GuiceApplication - Interface in com.peterphi.std.guice.apploader
-
A service that is registered with a
GuiceRegistry for configuration and lifecycle
event injection.
- GuiceBuilder - Class in com.peterphi.std.guice.apploader.impl
-
Build the specifications for a new guice framework environment
- GuiceBuilder() - Constructor for class com.peterphi.std.guice.apploader.impl.GuiceBuilder
-
- GuiceConstants - Class in com.peterphi.std.guice.apploader
-
- GuiceConstants() - Constructor for class com.peterphi.std.guice.apploader.GuiceConstants
-
- GuiceDaemon - Class in com.peterphi.std.guice.common.daemon
-
- GuiceDaemon() - Constructor for class com.peterphi.std.guice.common.daemon.GuiceDaemon
-
- GuiceDaemon(boolean) - Constructor for class com.peterphi.std.guice.common.daemon.GuiceDaemon
-
- GuiceDaemonRegistry - Class in com.peterphi.std.guice.common.daemon
-
- GuiceDaemonRegistry() - Constructor for class com.peterphi.std.guice.common.daemon.GuiceDaemonRegistry
-
- GuiceInjectorBootstrap - Class in com.peterphi.std.guice.apploader.impl
-
- GuiceInjectorBootstrap() - Constructor for class com.peterphi.std.guice.apploader.impl.GuiceInjectorBootstrap
-
Deprecated.
- GuiceLifecycleListener - Interface in com.peterphi.std.guice.common.lifecycle
-
- GuiceLifecycleModule - Class in com.peterphi.std.guice.common.lifecycle
-
- GuiceLifecycleModule() - Constructor for class com.peterphi.std.guice.common.lifecycle.GuiceLifecycleModule
-
- GuiceMetricNames - Class in com.peterphi.std.guice.common.metrics
-
- GuiceProperties - Class in com.peterphi.std.guice.apploader
-
The properties used directly (that is, not pulled in with a Inject and Named annotations) by the framework.
- GuiceProperties() - Constructor for class com.peterphi.std.guice.apploader.GuiceProperties
-
- GuiceRecurringDaemon - Class in com.peterphi.std.guice.common.daemon
-
- GuiceRecurringDaemon(Timeout) - Constructor for class com.peterphi.std.guice.common.daemon.GuiceRecurringDaemon
-
Creates a new Daemon; the Daemon will start once the guice object is fully constructed
- GuiceRecurringDaemon(boolean, Timeout) - Constructor for class com.peterphi.std.guice.common.daemon.GuiceRecurringDaemon
-
Creates a new Daemon; the Daemon will start once the guice object is fully constructed
- GuiceRegistry - Class in com.peterphi.std.guice.apploader.impl
-
Registry that holds the Injector and the applications currently registered to be injected with the latest Guice
objects.
Uses
GuiceBuilder to acquire a
GuiceSetup which defines the Guice Modules to use to build this
environment.
- GuiceRegistry() - Constructor for class com.peterphi.std.guice.apploader.impl.GuiceRegistry
-
- GuiceRegistry(GuiceBuilder) - Constructor for class com.peterphi.std.guice.apploader.impl.GuiceRegistry
-
- GuiceRole - Interface in com.peterphi.std.guice.apploader
-
- GuiceSetup - Interface in com.peterphi.std.guice.apploader
-
Bootstrap interface, replaces static *Loader types
Implementors MUST expose a public default constructor.
Instances of this interface are short-lived and created every time the GuiceBuilder needs to construct a new
Injector
- Reconfigurable - Annotation Type in com.peterphi.std.guice.common.serviceprops.annotations
-
Marks a field as able to be reconfigured on the fly (with the whole class having its members reinjected at the point of
reconfiguration).
- refuse(AuthConstraint, CurrentUser) - Method in interface com.peterphi.std.guice.common.auth.iface.AccessRefuser
-
Return a Throwable (should either be an Error or a RuntimeException) to be raised when the provided user fails the
authentication constraint
- register(Stage, ClassScannerFactory, CompositeConfiguration, PropertiesConfiguration, GuiceSetup, List<Module>, AtomicReference<Injector>, MetricRegistry) - Method in interface com.peterphi.std.guice.apploader.GuiceRole
-
Provides an opportunity to influence modules (adding, removing, reordering) being loaded.
- register(GuiceApplication, boolean) - Method in class com.peterphi.std.guice.apploader.impl.GuiceRegistry
-
Request that an application be registered with this GuiceRegistry
- register(GuiceDaemon) - Method in class com.peterphi.std.guice.common.daemon.GuiceDaemonRegistry
-
- register(Stage, ClassScannerFactory, CompositeConfiguration, PropertiesConfiguration, GuiceSetup, List<Module>, AtomicReference<Injector>, MetricRegistry) - Method in class com.peterphi.std.guice.common.eagersingleton.BindEagerSingletonRole
-
- register(StoppableService) - Method in interface com.peterphi.std.guice.common.shutdown.iface.ShutdownManager
-
Registers a service to be notified when the system shuts down
The ShutdownManager will hold a strong reference to this object, preventing it from being garbage collected until
shutdown.
- register(Class<?>) - Static method in class com.peterphi.std.guice.serviceregistry.index.IndexableServiceRegistry
-
- register(String, String) - Static method in class com.peterphi.std.guice.serviceregistry.index.IndexableServiceRegistry
-
- register(ManualIndexableService) - Static method in class com.peterphi.std.guice.serviceregistry.index.IndexableServiceRegistry
-
- register(Class<?>) - Static method in class com.peterphi.std.guice.serviceregistry.rest.RestResourceRegistry
-
Register a new resource - N.B.
- register(Class<?>, boolean) - Static method in class com.peterphi.std.guice.serviceregistry.rest.RestResourceRegistry
-
Register a new resource - N.B.
- registerModules(List<Module>, Configuration) - Method in class com.peterphi.std.guice.apploader.BasicSetup
-
- registerModules(List<Module>, Configuration) - Method in interface com.peterphi.std.guice.apploader.GuiceSetup
-
Request for the Setup implementation to add its required modules
- ResourceNotFoundException - Exception in com.peterphi.std.guice.common.resource.iface
-
- ResourceNotFoundException() - Constructor for exception com.peterphi.std.guice.common.resource.iface.ResourceNotFoundException
-
- ResourceNotFoundException(Throwable) - Constructor for exception com.peterphi.std.guice.common.resource.iface.ResourceNotFoundException
-
- ResourceNotFoundException(String) - Constructor for exception com.peterphi.std.guice.common.resource.iface.ResourceNotFoundException
-
- ResourceNotFoundException(String, Throwable) - Constructor for exception com.peterphi.std.guice.common.resource.iface.ResourceNotFoundException
-
- ResourceProvider - Interface in com.peterphi.std.guice.common.resource.iface
-
Interface to a provider of resources.
Paths are specified in the style of a UNIX filepath, using "/" as a separator character.
- REST_SERVICES_PREFIX - Static variable in class com.peterphi.std.guice.apploader.GuiceProperties
-
- restart() - Method in class com.peterphi.std.guice.apploader.impl.GuiceRegistry
-
Restart Guice services
- RestResource - Class in com.peterphi.std.guice.serviceregistry.rest
-
- RestResource(Class<?>) - Constructor for class com.peterphi.std.guice.serviceregistry.rest.RestResource
-
- RestResourceRegistry - Class in com.peterphi.std.guice.serviceregistry.rest
-
Holds information about the REST resources this webapp exposes
- RestResourceRegistry() - Constructor for class com.peterphi.std.guice.serviceregistry.rest.RestResourceRegistry
-
- Retry - Annotation Type in com.peterphi.std.guice.common.retry.annotation
-
When annotated on a public/protected/package-private method in a Guice-constructed object this annotation will automatically
retry if that method throws an exception
- RETRY_ATTEMPT_FAILURES - Static variable in class com.peterphi.std.guice.common.metrics.GuiceMetricNames
-
- RETRY_ATTEMPTS - Static variable in class com.peterphi.std.guice.common.metrics.GuiceMetricNames
-
- RETRY_CALLS - Static variable in class com.peterphi.std.guice.common.metrics.GuiceMetricNames
-
- RETRY_TOTAL_FAILURES - Static variable in class com.peterphi.std.guice.common.metrics.GuiceMetricNames
-
- Retryable<T> - Interface in com.peterphi.std.guice.common.retry.retry
-
- RetryManager - Class in com.peterphi.std.guice.common.retry.retry
-
- RetryManager(BackoffStrategy, int, Timer, Meter) - Constructor for class com.peterphi.std.guice.common.retry.retry.RetryManager
-
- RetryModule - Class in com.peterphi.std.guice.common.retry.module
-
- RetryModule(MetricRegistry) - Constructor for class com.peterphi.std.guice.common.retry.module.RetryModule
-
- ROLE_DBUNIT_AUTO - Static variable in class com.peterphi.std.guice.apploader.GuiceProperties
-
- ROLE_HIBERNATE_AUTO - Static variable in class com.peterphi.std.guice.apploader.GuiceProperties
-
- ROLE_JAXRS_SERVER_AUTO - Static variable in class com.peterphi.std.guice.apploader.GuiceProperties
-
- ROLE_METRICS_JAXRS_AUTO - Static variable in class com.peterphi.std.guice.apploader.GuiceProperties
-
- ROLE_THYMELEAF_AUTO - Static variable in class com.peterphi.std.guice.apploader.GuiceProperties
-
- run() - Method in class com.peterphi.std.guice.common.daemon.GuiceRecurringDaemon
-
- run(Retryable<T>) - Method in class com.peterphi.std.guice.common.retry.retry.RetryManager
-
- runUnchecked(Retryable<T>) - Method in class com.peterphi.std.guice.common.retry.retry.RetryManager
-
Run the operation, only throwing an unchecked exception on failure