Skip navigation links
A B C D E G I J N O R S V W 

A

addDependency(Class<T>, IBinder<T>) - Method in class org.symphonyoss.s2.fugue.di.ComponentDescriptor
Add a simple (Cardinality.One) dependency.
addDependency(Class<T>, IBinder<T>, Cardinality) - Method in class org.symphonyoss.s2.fugue.di.ComponentDescriptor
Add a dependency.
addProvidedInterface(Class<?>) - Method in class org.symphonyoss.s2.fugue.di.ComponentDescriptor
Add an interface which this component implements and which can be provided to other components.
addStart(Runnable) - Method in class org.symphonyoss.s2.fugue.di.ComponentDescriptor
Add a Runnable which will be called during process initialisation.
addStop(Runnable) - Method in class org.symphonyoss.s2.fugue.di.ComponentDescriptor
Add a Runnable which will be called during process termination.

B

bind(T) - Method in interface org.symphonyoss.s2.fugue.di.IBinder
Bind the given value as a dependency.

C

Cardinality - Enum in org.symphonyoss.s2.fugue.di
The cardinality of a required interface.
ComponentDescriptor - Class in org.symphonyoss.s2.fugue.di
Fugue components are required to provide a ComponentDescriptor which specifies what dependencies it has and what interfaces it provides.
ComponentDescriptor() - Constructor for class org.symphonyoss.s2.fugue.di.ComponentDescriptor
 
ConfigurationFault - Exception in org.symphonyoss.s2.fugue.di
Indicates a configuration error which is assumed to be terminal for the application.
ConfigurationFault(String) - Constructor for exception org.symphonyoss.s2.fugue.di.ConfigurationFault
Construct a ConfigurationFault with the given message.
ConfigurationFault(String, Throwable) - Constructor for exception org.symphonyoss.s2.fugue.di.ConfigurationFault
Construct a ConfigurationFault with the given message.

D

debug(Object, Throwable) - Method in interface org.symphonyoss.s2.fugue.di.component.ILogComponent
Log a message with a stack trace at DEBUG level.
debug(Object) - Method in interface org.symphonyoss.s2.fugue.di.component.ILogComponent
Log a message at DEBUG level.
debug(Object) - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
debug(Object, Throwable) - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
debug(Object, Throwable) - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
debug(Object) - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
DefaultLogComponent - Class in org.symphonyoss.s2.fugue.di.component.impl
The default implementation of ILogComponent.
DefaultLogComponent() - Constructor for class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
DIContext - Class in org.symphonyoss.s2.fugue.di
A dependency injection context.
DIContext() - Constructor for class org.symphonyoss.s2.fugue.di.DIContext
 

E

error(Object, Throwable) - Method in interface org.symphonyoss.s2.fugue.di.component.ILogComponent
Log a message with a stack trace at ERROR level.
error(Object) - Method in interface org.symphonyoss.s2.fugue.di.component.ILogComponent
Log a message at ERROR level.
error(Object) - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
error(Object, Throwable) - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
error(Object, Throwable) - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
error(Object) - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 

G

getComponentDescriptor() - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
getComponentDescriptor() - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
getComponentDescriptor() - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
getComponentDescriptor() - Method in interface org.symphonyoss.s2.fugue.di.IComponent
Create a component descriptor which describes the dependencies and provided interfaces of this component.
getLifeCycle() - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
getLifeCycle() - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Get the current lifeCycle state.

I

IBinder<T> - Interface in org.symphonyoss.s2.fugue.di
An interface to accept a declared dependency.
IComponent - Interface in org.symphonyoss.s2.fugue.di
All Fugue components must implement this interface.
IComponentProvider - Interface in org.symphonyoss.s2.fugue.di
A provider of additional components.
IDIContext - Interface in org.symphonyoss.s2.fugue.di
A Dependency Injection Context.
ILogComponent - Interface in org.symphonyoss.s2.fugue.di.component
A logging component.
info(Object, Throwable) - Method in interface org.symphonyoss.s2.fugue.di.component.ILogComponent
Log a message with a stack trace at INFO level.
info(Object) - Method in interface org.symphonyoss.s2.fugue.di.component.ILogComponent
Log a message at INFO level.
info(Object) - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
info(Object, Throwable) - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
info(Object, Throwable) - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
info(Object) - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
IRandomNumberProvider - Interface in org.symphonyoss.s2.fugue.di.component
A source of random data.

J

join() - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
join() - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Wait for the context to become stopped.

N

nextBoolean() - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
nextBoolean() - Method in interface org.symphonyoss.s2.fugue.di.component.IRandomNumberProvider
Returns a pseudorandom, uniformly distributed boolean value.
nextBytes(byte[]) - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
nextBytes(byte[]) - Method in interface org.symphonyoss.s2.fugue.di.component.IRandomNumberProvider
Generates random bytes and places them into a user-supplied byte array.
nextDouble() - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
nextDouble() - Method in interface org.symphonyoss.s2.fugue.di.component.IRandomNumberProvider
Returns a pseudorandom, uniformly distributed double value between 0.0 and 1.0.
nextFloat() - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
nextFloat() - Method in interface org.symphonyoss.s2.fugue.di.component.IRandomNumberProvider
Returns a pseudorandom, uniformly distributed float value between 0.0 and 1.0.
nextGaussian() - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
nextGaussian() - Method in interface org.symphonyoss.s2.fugue.di.component.IRandomNumberProvider
Returns a pseudorandom, Gaussian ("normally") distributed double value with mean 0.0 and standard deviation 1.0.
nextInt() - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
nextInt(int) - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
nextInt() - Method in interface org.symphonyoss.s2.fugue.di.component.IRandomNumberProvider
Returns a pseudorandom, uniformly distributed int value.
nextInt(int) - Method in interface org.symphonyoss.s2.fugue.di.component.IRandomNumberProvider
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive).
nextLong() - Method in class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
nextLong() - Method in interface org.symphonyoss.s2.fugue.di.component.IRandomNumberProvider
Returns a pseudorandom, uniformly distributed long value.

O

org.symphonyoss.s2.fugue.di - package org.symphonyoss.s2.fugue.di
 
org.symphonyoss.s2.fugue.di.component - package org.symphonyoss.s2.fugue.di.component
 
org.symphonyoss.s2.fugue.di.component.impl - package org.symphonyoss.s2.fugue.di.component.impl
 

R

RandomNumberProvider - Class in org.symphonyoss.s2.fugue.di.component.impl
A component which provides an instance of a SecureRandom.
RandomNumberProvider() - Constructor for class org.symphonyoss.s2.fugue.di.component.impl.RandomNumberProvider
 
register(IComponent) - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
register(IComponent) - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Register the given component in the context.
registerComponents(IDIContext) - Method in interface org.symphonyoss.s2.fugue.di.IComponentProvider
Called at start time, during the resolution process, before any component is started.
resolve() - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
resolve() - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Resolve all components.
resolveAdditionalComponent(IComponent) - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
resolveAdditionalComponent(IComponent) - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Resolve an additional component.
resolveAndStart() - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
resolveAndStart() - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Resolve all components and start.

S

Slf4jLogComponent - Class in org.symphonyoss.s2.fugue.di.component.impl
An SLF4J implementation of ILogComponent.
Slf4jLogComponent() - Constructor for class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
start() - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
start() - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Start all components.
stop() - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
stop() - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Stop the context.

V

valueOf(String) - Static method in enum org.symphonyoss.s2.fugue.di.Cardinality
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.symphonyoss.s2.fugue.di.Cardinality
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForLifeCycle(DIContextState) - Method in class org.symphonyoss.s2.fugue.di.DIContext
 
waitForLifeCycle(DIContextState) - Method in interface org.symphonyoss.s2.fugue.di.IDIContext
Wait for the specified lifeCycle state to be reached.
warn(Object, Throwable) - Method in interface org.symphonyoss.s2.fugue.di.component.ILogComponent
Log a message with a stack trace at WARN level.
warn(Object) - Method in interface org.symphonyoss.s2.fugue.di.component.ILogComponent
Log a message at WARN level.
warn(Object) - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
warn(Object, Throwable) - Method in class org.symphonyoss.s2.fugue.di.component.impl.DefaultLogComponent
 
warn(Object, Throwable) - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
warn(Object) - Method in class org.symphonyoss.s2.fugue.di.component.impl.Slf4jLogComponent
 
A B C D E G I J N O R S V W 
Skip navigation links

Copyright © 2018 Symphony Software Foundation. All rights reserved.