Skip navigation links
A C D F G H I K M O P R S T W 

A

accept(A1, A2, A3) - Method in interface com.vanillasource.jaywire.web.ThreadLocalStorageScope.TriConsumer
 
apply(Factory<T>) - Method in interface com.vanillasource.jaywire.Scope
Apply the semantics of this scope to the provided supplier.
apply(Factory<T>) - Method in class com.vanillasource.jaywire.serialization.SerializableScope
Return a supplier that only indirectly refers to the delegate scope.
autoCloseProxy(Supplier<T>) - Method in interface com.vanillasource.jaywire.proxy.ProxySupport
Create a proxy which closes the resource after usage.

C

call(Function<T, R>) - Method in interface com.vanillasource.jaywire.proxy.Proxy
Call object inside this proxy.
call(Function<T, R>) - Method in class com.vanillasource.jaywire.proxy.SupplierProxy
 
clearStorage() - Method in class com.vanillasource.jaywire.web.ThreadLocalStorageScope
 
close() - Method in interface com.vanillasource.jaywire.standalone.CloseableModule
Tries to close all registered objects, but will abort at the first failure with the exception thrown from closeable.
CloseableModule - Interface in com.vanillasource.jaywire.standalone
Implements being closeable, and closing registered closeables automatically as a mixin to any singleton supporting module.
CloseableSupport - Interface in com.vanillasource.jaywire
Add support for closing auto-closeable objects when the module is closed.
closeWithModule(T) - Method in interface com.vanillasource.jaywire.CloseableSupport
Applied directly to closeable objects will register the object to be closed together with the module.
closeWithModule(T) - Method in interface com.vanillasource.jaywire.standalone.CloseableModule
 
com.vanillasource.jaywire - package com.vanillasource.jaywire
 
com.vanillasource.jaywire.proxy - package com.vanillasource.jaywire.proxy
 
com.vanillasource.jaywire.serialization - package com.vanillasource.jaywire.serialization
 
com.vanillasource.jaywire.standalone - package com.vanillasource.jaywire.standalone
 
com.vanillasource.jaywire.web - package com.vanillasource.jaywire.web
 

D

deserializing(SerializationUtil.DeserializingRunnable) - Static method in class com.vanillasource.jaywire.serialization.SerializationUtil
 

F

Factory<T> - Interface in com.vanillasource.jaywire
Responsible for creating an object instance of a certain kind.
FACTORY - Static variable in interface com.vanillasource.jaywire.Scope
Always uses the given factory, for each request.

G

get(Factory<T>) - Method in interface com.vanillasource.jaywire.Scope
Get an instance of the given factory for this scope.
get(Factory<T>) - Method in class com.vanillasource.jaywire.serialization.SerializableScope
 
get() - Method in class com.vanillasource.jaywire.serialization.SerializableScope.IndirectSerializableSupplier
 
get(Factory<T>) - Method in class com.vanillasource.jaywire.standalone.SingletonScope
 
get(Factory<T>) - Method in class com.vanillasource.jaywire.standalone.ThreadLocalScope
 
get(Factory<T>) - Method in class com.vanillasource.jaywire.web.ThreadLocalStorageScope
 
getCloseables() - Method in interface com.vanillasource.jaywire.standalone.CloseableModule
 
getHttpSessionScope() - Method in interface com.vanillasource.jaywire.web.HttpSessionScopeModule
Provides a method to directly get the HttpSessionScope, to be able to set and clear its session.
getKind() - Method in interface com.vanillasource.jaywire.Kinded
Returns a string representing the kind of object.
getRequestScope() - Method in interface com.vanillasource.jaywire.web.RequestScopeSupport
Returns a scope that will instantiate objects only once for one call/request.
getRequestScope() - Method in interface com.vanillasource.jaywire.web.ServletRequestScopeModule
 
getServletRequestScope() - Method in interface com.vanillasource.jaywire.web.ServletRequestScopeModule
Provides a method to directly get the ServletRequestScope, to be able to set and clear its request.
getSessionScope() - Method in interface com.vanillasource.jaywire.web.HttpSessionScopeModule
 
getSessionScope() - Method in interface com.vanillasource.jaywire.web.SessionScopeSupport
Returns a scope that will instantiate objects only once for one session.
getSingletonScope() - Method in interface com.vanillasource.jaywire.SingletonScopeSupport
Returns a scope that will instantiate only once for each given supplier class.
getSingletonScope() - Method in class com.vanillasource.jaywire.standalone.SerializableSingletonScopeModule
 
getStaticDeserializationModule() - Method in class com.vanillasource.jaywire.serialization.SerializableModule
Override this method to decide what static reference of a module should be used when deserializing suppliers.
getThreadLocalScope() - Method in interface com.vanillasource.jaywire.standalone.ThreadLocalScopeModule
 
getThreadLocalScope() - Method in interface com.vanillasource.jaywire.ThreadLocalScopeSupport
Returns a scope that will instantiate only once for each new thread.

H

HttpSessionScope - Class in com.vanillasource.jaywire.web
 
HttpSessionScope() - Constructor for class com.vanillasource.jaywire.web.HttpSessionScope
 
HttpSessionScopeModule - Interface in com.vanillasource.jaywire.web
 

I

ifNotDeserializing(Runnable) - Static method in class com.vanillasource.jaywire.serialization.SerializationUtil
 
IndirectSerializableSupplier(Scope, SerializableScope.SerializableSupplier<Scope>, Factory<T>) - Constructor for class com.vanillasource.jaywire.serialization.SerializableScope.IndirectSerializableSupplier
 

K

Kinded - Interface in com.vanillasource.jaywire
A class which can be categorized with kinds.

M

makeScopeSerializable(SerializableSupplier<Scope>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeScopeSerializable(SerializableSupplier<Scope>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
Make a scope serializable by providing a serializable supplier that can produce said scope.
makeScopeSerializableSingleton(Factory<Scope>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeScopeSerializableSingleton(Factory<Scope>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
Make a regular scope a singleton, and wrap so all produced suppliers of this scope would be serializable themselves.
makeSerializable(SerializableSupplier<T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier1<P1, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier2<P1, P2, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier3<P1, P2, P3, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier4<P1, P2, P3, P4, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier5<P1, P2, P3, P4, P5, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier6<P1, P2, P3, P4, P5, P6, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier7<P1, P2, P3, P4, P5, P6, P7, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier8<P1, P2, P3, P4, P5, P6, P7, P8, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier9<P1, P2, P3, P4, P5, P6, P7, P8, P9, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationModule
 
makeSerializable(SerializableSupplier<T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier1<P1, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier2<P1, P2, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier3<P1, P2, P3, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier4<P1, P2, P3, P4, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier5<P1, P2, P3, P4, P5, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier6<P1, P2, P3, P4, P5, P6, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier7<P1, P2, P3, P4, P5, P6, P7, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier8<P1, P2, P3, P4, P5, P6, P7, P8, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 
makeSerializable(SerializableSupplier9<P1, P2, P3, P4, P5, P6, P7, P8, P9, T>) - Method in interface com.vanillasource.jaywire.serialization.SerializationSupport
 

O

onAfter(Consumer<T>) - Method in interface com.vanillasource.jaywire.proxy.Proxy
Execute a certain logic after the user supplied body is run.
onAfter(Runnable) - Method in interface com.vanillasource.jaywire.proxy.Proxy
Execute a certain logic after the user supplied body is run, that does not need the proxied object.
onAround(BiConsumer<T, Runnable>) - Method in interface com.vanillasource.jaywire.proxy.Proxy
Execute additional logic around the call.
onBefore(Consumer<T>) - Method in interface com.vanillasource.jaywire.proxy.Proxy
Execute a certain logic before the user supplied body is run.
onBefore(Runnable) - Method in interface com.vanillasource.jaywire.proxy.Proxy
Execute a certain logic before the user supplied body is run, that does not need the proxied object.

P

Proxy<T> - Interface in com.vanillasource.jaywire.proxy
Proxies calls to an unerlying object.
proxy(Supplier<T>) - Method in interface com.vanillasource.jaywire.proxy.ProxySupport
Make a proxy out of a supplier.
ProxySupport - Interface in com.vanillasource.jaywire.proxy
Adds support for proxy related functionality to a module.

R

readExternal(ObjectInput) - Method in class com.vanillasource.jaywire.serialization.SerializableModule
 
readResolve() - Method in class com.vanillasource.jaywire.serialization.SerializableModule
 
requestScope(Factory<T>) - Method in interface com.vanillasource.jaywire.web.RequestScopeSupport
Convenience method to produce request scope suppliers easily.
RequestScopeSupport - Interface in com.vanillasource.jaywire.web
Pull this interface into a Module to define a dependency to a request scope.
run() - Method in interface com.vanillasource.jaywire.serialization.SerializationUtil.DeserializingRunnable
 

S

Scope - Interface in com.vanillasource.jaywire
Common interface for scopes for dependency injection.
SerializableModule - Class in com.vanillasource.jaywire.serialization
A module superclass that supports serialization and deserialization, even if module subclasses have instance variables defined.
SerializableModule() - Constructor for class com.vanillasource.jaywire.serialization.SerializableModule
 
SerializableScope - Class in com.vanillasource.jaywire.serialization
A scope implementation that delegates to a given scope when directly asked for objects or suppliers.
SerializableScope(Scope, SerializableScope.SerializableSupplier<Scope>) - Constructor for class com.vanillasource.jaywire.serialization.SerializableScope
 
SerializableScope.IndirectSerializableSupplier<T> - Class in com.vanillasource.jaywire.serialization
 
SerializableScope.SerializableSupplier<T> - Interface in com.vanillasource.jaywire.serialization
 
SerializableSingletonScopeModule - Class in com.vanillasource.jaywire.standalone
Implements the singleton scope, which is in fact an abstraction over instance variables.
SerializableSingletonScopeModule() - Constructor for class com.vanillasource.jaywire.standalone.SerializableSingletonScopeModule
 
SerializableSupplier<T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier1<P1,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier2<P1,P2,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier3<P1,P2,P3,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier4<P1,P2,P3,P4,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier5<P1,P2,P3,P4,P5,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier6<P1,P2,P3,P4,P5,P6,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier7<P1,P2,P3,P4,P5,P6,P7,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier8<P1,P2,P3,P4,P5,P6,P7,P8,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializableSupplier9<P1,P2,P3,P4,P5,P6,P7,P8,P9,T> - Interface in com.vanillasource.jaywire.serialization
Responsible for creating an object instance of a certain kind.
SerializationModule - Interface in com.vanillasource.jaywire.serialization
 
SerializationSupport - Interface in com.vanillasource.jaywire.serialization
Defines helper methods to levarage serialization related functions in a module.
SerializationUtil - Class in com.vanillasource.jaywire.serialization
 
SerializationUtil.DeserializingRunnable - Interface in com.vanillasource.jaywire.serialization
 
ServletRequestScope - Class in com.vanillasource.jaywire.web
 
ServletRequestScope() - Constructor for class com.vanillasource.jaywire.web.ServletRequestScope
 
ServletRequestScopeModule - Interface in com.vanillasource.jaywire.web
 
sessionScope(Factory<T>) - Method in interface com.vanillasource.jaywire.web.SessionScopeSupport
Convenience method to produce session scope suppliers easily.
SessionScopeSupport - Interface in com.vanillasource.jaywire.web
Pull this interface into a Module to define a dependency to a session scope.
setStorage(S) - Method in class com.vanillasource.jaywire.web.ThreadLocalStorageScope
 
singleton(Factory<T>) - Method in interface com.vanillasource.jaywire.SingletonScopeSupport
Convenience method to produce singleton objects easily.
SingletonScope - Class in com.vanillasource.jaywire.standalone
An implementation of a singleton scope that keeps all already instantiated objects in an internal map indexed by the kind object returned by the factory.
SingletonScope() - Constructor for class com.vanillasource.jaywire.standalone.SingletonScope
 
SingletonScopeSupport - Interface in com.vanillasource.jaywire
Pull this interface into a Module to define a dependency to a singleton scope.
singletonSupplier(Factory<T>) - Method in interface com.vanillasource.jaywire.SingletonScopeSupport
Convenience method to produce a Supplier easily.
StandaloneModule - Class in com.vanillasource.jaywire.standalone
A module that combines all available functionality from the standalone scopes.
StandaloneModule() - Constructor for class com.vanillasource.jaywire.standalone.StandaloneModule
 
StandardScopesSupport - Interface in com.vanillasource.jaywire
Add support for all standard scopes.
SupplierProxy<T> - Class in com.vanillasource.jaywire.proxy
Proxies a given supplier.
SupplierProxy(Supplier<T>) - Constructor for class com.vanillasource.jaywire.proxy.SupplierProxy
 

T

threadLocal(Factory<T>) - Method in interface com.vanillasource.jaywire.ThreadLocalScopeSupport
Convenience method to produce thread local supplier easily.
ThreadLocalScope - Class in com.vanillasource.jaywire.standalone
An implementation of a thread local scope that is basically a singleton scope in a thread local variable.
ThreadLocalScope() - Constructor for class com.vanillasource.jaywire.standalone.ThreadLocalScope
 
ThreadLocalScopeModule - Interface in com.vanillasource.jaywire.standalone
 
ThreadLocalScopeSupport - Interface in com.vanillasource.jaywire
Pull this interface into a Module to define a dependency to a thread local scope.
ThreadLocalStorageScope<S> - Class in com.vanillasource.jaywire.web
An scope that stores all kinds in a "storage" object that is kept as a thread-local variable.
ThreadLocalStorageScope(BiFunction<S, String, Object>, ThreadLocalStorageScope.TriConsumer<S, String, Object>) - Constructor for class com.vanillasource.jaywire.web.ThreadLocalStorageScope
 
ThreadLocalStorageScope.TriConsumer<A1,A2,A3> - Interface in com.vanillasource.jaywire.web
 

W

writeExternal(ObjectOutput) - Method in class com.vanillasource.jaywire.serialization.SerializableModule
 
A C D F G H I K M O P R S T W 
Skip navigation links

Copyright © 2016. All rights reserved.