A B C D F G I L O P R S T V W

A

AbstractContextCloseHandler<T> - Class in org.directwebremoting.guice
A partially implemented handler for objects contained in contexts that are closing.
AbstractContextCloseHandler(Class<T>) - Constructor for class org.directwebremoting.guice.AbstractContextCloseHandler
 
AbstractContextScope<C,R> - Class in org.directwebremoting.guice
Partial implementation of ContextScope.
AbstractContextScope(Class<C>, String) - Constructor for class org.directwebremoting.guice.AbstractContextScope
 
AbstractDwrModule - Class in org.directwebremoting.guice
An extension of AbstractModule that adds DWR configuration methods, in conjunction with DwrGuiceServlet.
AbstractDwrModule() - Constructor for class org.directwebremoting.guice.AbstractDwrModule
 
AbstractMapContextScope<C> - Class in org.directwebremoting.guice
A specialization of AbstractContextScope using a concurrent map to hold registered instance providers.
AbstractMapContextScope(Class<C>, String) - Constructor for class org.directwebremoting.guice.AbstractMapContextScope
 
AbstractSimpleContextScope<C> - Class in org.directwebremoting.guice
A specialization of AbstractContextScope for the case when the context identifier itself can serve as a string-keyed instance registry using synchronization on the context to provide atomic put-if-absent and remove-specific-value behavior.
AbstractSimpleContextScope(Class<C>, String) - Constructor for class org.directwebremoting.guice.AbstractSimpleContextScope
 
addAjaxFilter(AjaxFilter) - Method in class org.directwebremoting.guice.InternalAjaxFilterManager
 
addAjaxFilter(AjaxFilter, String) - Method in class org.directwebremoting.guice.InternalAjaxFilterManager
 
addConverter(String, String, Map) - Method in class org.directwebremoting.guice.InternalConverterManager
 
addConverter(String, Converter) - Method in class org.directwebremoting.guice.InternalConverterManager
 
addConverterType(String, String) - Method in class org.directwebremoting.guice.InternalConverterManager
 
addCreator(String, String, Map) - Method in class org.directwebremoting.guice.InternalCreatorManager
 
addCreator(String, Creator) - Method in class org.directwebremoting.guice.InternalCreatorManager
 
addCreatorType(String, String) - Method in class org.directwebremoting.guice.InternalCreatorManager
 
APPLICATION - Static variable in class org.directwebremoting.guice.DwrScopes
Application scope: objects in this scope are eagerly initialized during DWR servlet initialization, and Closeable objects in this scope are closed during DWR servlet destruction.
ApplicationScoped - Annotation Type in org.directwebremoting.guice
Marks classes for which there should be one instance per web application (i.e., per servlet context) and these instances should be created eagerly at servlet init() and closed (when they implement Closeable) at servlet destroy().

B

BeanFactoryLoader - Interface in org.directwebremoting.guice.spring
Knows how to load a concrete BeanFactory.
bindAnnotatedClasses(Class...) - Method in class org.directwebremoting.guice.AbstractDwrModule
Call this method in configure to specify classes that DWR should scan for annotations.
bindConversion(String) - Method in class org.directwebremoting.guice.AbstractDwrModule
Creates a binding for a conversion for types with names matching match.
bindConversion(Class<?>) - Method in class org.directwebremoting.guice.AbstractDwrModule
Creates a binding for a conversion for type.
bindConversion(Class<T>, Class<? extends T>) - Method in class org.directwebremoting.guice.AbstractDwrModule
Creates a binding for a conversion for type using an existing conversion for impl, which must be assignable to type.
bindDwrScopes() - Method in class org.directwebremoting.guice.AbstractDwrModule
Configure DWR scopes and bindings for servlet-related types; incompatible with Guice's ServletModule because their bindings for request, response, and session conflict.
bindDwrScopes(boolean) - Method in class org.directwebremoting.guice.AbstractDwrModule
Configure DWR scopes and bindings for servlet-related types, specifying whether to include bindings that conflict with those provided by Guice's ServletModule.
bindFilter(String) - Method in class org.directwebremoting.guice.AbstractDwrModule
Creates a binding for an Ajax filter for the script named scriptName.
bindGlobalFilter() - Method in class org.directwebremoting.guice.AbstractDwrModule
Creates a binding for a global Ajax filter.
bindParameter(ParamName) - Method in class org.directwebremoting.guice.AbstractDwrModule
Call this method in configure to create a binding for a DWR parameter.
bindRemoted(Class<T>) - Method in class org.directwebremoting.guice.AbstractDwrModule
Creates a binding to type that is used as the target of a remote method call with the class's unqualified name as the script name.
bindRemotedAs(String, Class<T>) - Method in class org.directwebremoting.guice.AbstractDwrModule
Creates a binding to a type that is used as the target of a remote method call with the given scriptName.
BindUtil - Class in org.directwebremoting.guice
Binding utilities for creating ad hoc providers.
BindUtil() - Constructor for class org.directwebremoting.guice.BindUtil
 
BindUtil.BindingProvider<T> - Interface in org.directwebremoting.guice
For fluent-style decoration with one or more method bindings when using BindUtil.fromConstructor(java.lang.Class, com.google.inject.Key...).

C

close(T) - Method in class org.directwebremoting.guice.AbstractContextCloseHandler
 
close(C, ContextCloseHandler<?>...) - Method in class org.directwebremoting.guice.AbstractContextScope
 
close(T) - Method in interface org.directwebremoting.guice.ContextCloseHandler
Action to take when the context containing object is closed.
close(C, ContextCloseHandler<?>...) - Method in interface org.directwebremoting.guice.ContextScope
Closes the given context.
closeAll(ContextCloseHandler<?>...) - Method in class org.directwebremoting.guice.AbstractContextScope
 
closeAll(ContextCloseHandler<?>...) - Method in interface org.directwebremoting.guice.ContextScope
Closes all open contexts.
configure() - Method in class org.directwebremoting.guice.AbstractDwrModule
Implement this method to configure Guice bindings for a DWR-based web application.
configure() - Method in class org.directwebremoting.guice.DwrGuiceServletContextListener
Define this method to configure bindings at servlet context initialization.
configure(Container) - Method in class org.directwebremoting.guice.InternalConfigurator
 
configure() - Method in class org.directwebremoting.guice.spring.SpringModule
 
ContextCloseHandler<T> - Interface in org.directwebremoting.guice
Called for each instance in a context when the context is closed.
contextDestroyed(ServletContextEvent) - Method in class org.directwebremoting.guice.DwrGuiceServletContextListener
 
contextInitialized(ServletContextEvent) - Method in class org.directwebremoting.guice.DwrGuiceServletContextListener
 
ContextRegistry<C,R> - Interface in org.directwebremoting.guice
Manages instances for a context.
ContextScope<C> - Interface in org.directwebremoting.guice
A scope that looks up providers in a current context, using itself as a provider for the context.
convertInbound(Class, InboundVariable, InboundContext, TypeHintContext) - Method in class org.directwebremoting.guice.InternalConverterManager
 
convertOutbound(Object, OutboundContext) - Method in class org.directwebremoting.guice.InternalConverterManager
 

D

destroy() - Method in class org.directwebremoting.guice.DwrGuiceServlet
Closes any Closeable application-scoped objects.
DwrGuiceServlet - Class in org.directwebremoting.guice
An extension of the basic DwrServlet that configures itself for dependency injection with Guice.
DwrGuiceServlet() - Constructor for class org.directwebremoting.guice.DwrGuiceServlet
 
DwrGuiceServletContextListener - Class in org.directwebremoting.guice
Register a concrete subclass of this as a servlet context listener to configure an Injector and stash it in the ServletContext.
DwrGuiceServletContextListener() - Constructor for class org.directwebremoting.guice.DwrGuiceServletContextListener
 
DwrScopes - Class in org.directwebremoting.guice
Scopes available to DWR applications.

F

fromConstructor(Class<T>, Key...) - Static method in class org.directwebremoting.guice.BindUtil
Creates a chainable provider that constructs an instance of the given type given a list of constructor parameter types, specified as Guice keys.
fromConstructor(Binder, Class<T>, Key...) - Static method in class org.directwebremoting.guice.BindUtil
Creates a chainable provider that constructs an instance of the given type given a list of constructor parameter types, specified as Guice keys.
fromFactoryMethod(Class<T>, Class<?>, String, Key...) - Static method in class org.directwebremoting.guice.BindUtil
Creates a chainable provider that constructs an instance of providedType using a factory method defined by factoryType, methodName, and a list of method parameter types specified as Guice keys.
fromFactoryMethod(Binder, Class<T>, Class<?>, String, Key...) - Static method in class org.directwebremoting.guice.BindUtil
Creates a chainable provider that constructs an instance of providedType using a factory method defined by factoryType, methodName, and a list of method parameter types specified as Guice keys.
fromFactoryMethod(Class<T>, Key<?>, String, Key...) - Static method in class org.directwebremoting.guice.BindUtil
Creates a chainable provider that constructs an instance of providedType by calling method methodName of the type in factoryKey with method parameter types specified as Guice keys.
fromFactoryMethod(Binder, Class<T>, Key<?>, String, Key...) - Static method in class org.directwebremoting.guice.BindUtil
Creates a chainable provider that constructs an instance of providedType by calling method methodName of the type in factoryKey with method parameter types specified as Guice keys.

G

get() - Method in class org.directwebremoting.guice.AbstractContextScope
 
get() - Method in class org.directwebremoting.guice.AbstractMapContextScope
 
get(ConcurrentMap, Key<T>, String) - Method in class org.directwebremoting.guice.AbstractMapContextScope
 
get() - Method in class org.directwebremoting.guice.AbstractSimpleContextScope
 
get(C, String) - Method in class org.directwebremoting.guice.AbstractSimpleContextScope
 
get(C, Key<T>, String) - Method in class org.directwebremoting.guice.AbstractSimpleContextScope
 
get(R, Key<T>, String) - Method in interface org.directwebremoting.guice.ContextRegistry
Looks up an InstanceProvider for a key (either directly or using the precalculated key.toString() value) in a registry object, returning null if not found.
get() - Method in interface org.directwebremoting.guice.ContextScope
The context identifier used to look up an instance registry.
getAjaxFilters(String) - Method in class org.directwebremoting.guice.InternalAjaxFilterManager
 
getConverterByMatchString(String) - Method in class org.directwebremoting.guice.InternalConverterManager
 
getConverterMatchStrings() - Method in class org.directwebremoting.guice.InternalConverterManager
 
getCreator(String) - Method in class org.directwebremoting.guice.InternalCreatorManager
 
getCreatorNames() - Method in class org.directwebremoting.guice.InternalCreatorManager
 
getExtraTypeInfo(TypeHintContext) - Method in class org.directwebremoting.guice.InternalConverterManager
 
getInstance() - Method in class org.directwebremoting.guice.GuiceCreator
Looks up an instance of this creator's type with an Injector.
getKeysInScope() - Method in class org.directwebremoting.guice.AbstractContextScope
 
getKeysInScope() - Method in interface org.directwebremoting.guice.ContextScope
The keys bound in this scope.
getName() - Method in enum org.directwebremoting.guice.ParamName
 
getOpenContexts() - Method in class org.directwebremoting.guice.AbstractContextScope
 
getOpenContexts() - Method in interface org.directwebremoting.guice.ContextScope
The context identifiers of all open contexts that this scope knows about.
getServletContext() - Method in class org.directwebremoting.guice.DwrGuiceServletContextListener
Subclasses can use this during stage determination and binding to read values from the current servlet context.
getStage() - Method in class org.directwebremoting.guice.DwrGuiceServletContextListener
Override this method to specify which stage to run Guice in.
getType() - Method in class org.directwebremoting.guice.GuiceCreator
The class named through setClass.
GLOBAL - Static variable in class org.directwebremoting.guice.DwrScopes
Global application scope: like DwrScopes.APPLICATION, but objects in this scope are not eagerly initialized and Closeable objects in this scope are closed during servlet context destruction (not during DWR servlet destruction).
GlobalApplicationScoped - Annotation Type in org.directwebremoting.guice
Marks classes for which there should be one instance per web application (i.e., per servlet context).
GuiceCreator - Class in org.directwebremoting.guice
A creator that uses Guice dependency injection to create remoted objects.
GuiceCreator() - Constructor for class org.directwebremoting.guice.GuiceCreator
 

I

init(ServletConfig) - Method in class org.directwebremoting.guice.DwrGuiceServlet
Copies DWR configuration values from the Guice bindings into servletConfig to make these values accessible to the standard DWR servlet configuration machinery.
injecting(String, Key...) - Method in interface org.directwebremoting.guice.BindUtil.BindingProvider
Adds injection of a method defined by the given name and parameter types (specified as Guice keys) to this provider.
InstanceProvider<T> - Interface in org.directwebremoting.guice
Marker interface for ContextRegistry implementations to recognize registered instance providers.
InternalAjaxFilterManager - Class in org.directwebremoting.guice
Extends an existing ajax filter manager with an injected list of ajax filters specified at Guice bind-time.
InternalAjaxFilterManager() - Constructor for class org.directwebremoting.guice.InternalAjaxFilterManager
Retrieves an underlying ajaxFilter manager from thread-local state to which this class delegates AjaxFilterManager calls.
InternalConfigurator - Class in org.directwebremoting.guice
Delegates to an injected configurator.
InternalConfigurator() - Constructor for class org.directwebremoting.guice.InternalConfigurator
 
InternalConverterManager - Class in org.directwebremoting.guice
Extends an existing converter manager with an injected list of converters specified at Guice bind-time.
InternalConverterManager() - Constructor for class org.directwebremoting.guice.InternalConverterManager
Retrieves an underlying converter manager from thread-local state to which this class delegates ConverterManager calls.
InternalCreatorManager - Class in org.directwebremoting.guice
Extends an existing creator manager with an injected list of creators specified at Guice bind-time.
InternalCreatorManager() - Constructor for class org.directwebremoting.guice.InternalCreatorManager
Retrieves an underlying creator manager from thread-local state to which this class delegates CreatorManager calls.
isConvertable(Class) - Method in class org.directwebremoting.guice.InternalConverterManager
 
isDebug() - Method in class org.directwebremoting.guice.InternalCreatorManager
 
isInitApplicationScopeCreatorsAtStartup() - Method in class org.directwebremoting.guice.InternalCreatorManager
 

L

loadBeanFactory() - Method in interface org.directwebremoting.guice.spring.BeanFactoryLoader
 
loadBeanFactory() - Method in class org.directwebremoting.guice.spring.WebApplicationContextLoader
 

O

org.directwebremoting.guice - package org.directwebremoting.guice
This package provides support for Guice dependency injection in DWR-based web applications.
org.directwebremoting.guice.spring - package org.directwebremoting.guice.spring
This package provides support for using Spring beans in a DWR-Guice setting.
OutOfScopeException - Exception in org.directwebremoting.guice
Thrown by Providers returned by scope(Key, Provider) when they cannot locate a resource needed to resolve a key.
OutOfScopeException(Scope, Key<?>, Throwable) - Constructor for exception org.directwebremoting.guice.OutOfScopeException
 

P

ParamName - Enum in org.directwebremoting.guice
Parameters used to configure DWR.
put(C, String, Object) - Method in class org.directwebremoting.guice.AbstractSimpleContextScope
 
put(C, Key<T>, String, InstanceProvider<T>) - Method in class org.directwebremoting.guice.AbstractSimpleContextScope
 
putIfAbsent(ConcurrentMap, Key<T>, String, InstanceProvider<T>) - Method in class org.directwebremoting.guice.AbstractMapContextScope
 
putIfAbsent(C, Key<T>, String, InstanceProvider<T>) - Method in class org.directwebremoting.guice.AbstractSimpleContextScope
 
putIfAbsent(R, Key<T>, String, InstanceProvider<T>) - Method in interface org.directwebremoting.guice.ContextRegistry
Looks up an InstanceProvider for a key (either directly or using the precalculated key.toString() value) in a registry object, returning null if not found, otherwise returning the existing value.

R

registryFor(C) - Method in class org.directwebremoting.guice.AbstractMapContextScope
 
registryFor(C) - Method in class org.directwebremoting.guice.AbstractSimpleContextScope
 
registryFor(C) - Method in interface org.directwebremoting.guice.ContextRegistry
Returns the registry object associated with the given context.
remove(ConcurrentMap, Key<T>, String, InstanceProvider<T>) - Method in class org.directwebremoting.guice.AbstractMapContextScope
 
remove(C, Key<T>, String, InstanceProvider<T>) - Method in class org.directwebremoting.guice.AbstractSimpleContextScope
 
remove(R, Key<T>, String, InstanceProvider<T>) - Method in interface org.directwebremoting.guice.ContextRegistry
Removes the registry entry for the given key (either directly or using the precalculated key.toString() value) from a registry object if the registered value is identical to creator.
REQUEST - Static variable in class org.directwebremoting.guice.DwrScopes
HTTP request scope.
RequestParameters - Annotation Type in org.directwebremoting.guice
Marks fields or parameters of type Map<String, String[]> that are to be injected with the parameter map of the current HTTP request.
RequestScoped - Annotation Type in org.directwebremoting.guice
Marks classes for which there should be one instance per HTTP request.
run() - Method in interface org.directwebremoting.guice.InstanceProvider
 

S

scope(Key<T>, Provider<T>) - Method in class org.directwebremoting.guice.AbstractContextScope
 
scope(Key<T>, Provider<T>) - Method in interface org.directwebremoting.guice.ContextScope
Returns a provider that finds the instance registry corresponding to the current context and returns the object registered with the given key, creating it if it doesn't exist in the registry.
SCRIPT - Static variable in class org.directwebremoting.guice.DwrScopes
DWR script session scope.
ScriptSessionScoped - Annotation Type in org.directwebremoting.guice
Marks classes for which there should be one instance per script session.
SESSION - Static variable in class org.directwebremoting.guice.DwrScopes
HTTP session scope.
SessionScoped - Annotation Type in org.directwebremoting.guice
Marks classes for which there should be one instance per HTTP session.
setClass(String) - Method in class org.directwebremoting.guice.GuiceCreator
Specified via @RemoteProxy or via a parameter in XML configuration.
setConverters(Map) - Method in class org.directwebremoting.guice.InternalConverterManager
 
setCreators(Map) - Method in class org.directwebremoting.guice.InternalCreatorManager
 
setDebug(boolean) - Method in class org.directwebremoting.guice.InternalCreatorManager
 
setExtraTypeInfo(TypeHintContext, Class) - Method in class org.directwebremoting.guice.InternalConverterManager
 
setInitApplicationScopeCreatorsAtStartup(boolean) - Method in class org.directwebremoting.guice.InternalCreatorManager
 
SpringModule - Class in org.directwebremoting.guice.spring
Ties SpringIntegration.fromSpring providers to a BeanFactory whose provider is a Closeable in global application scope, which means that it will be destroyed when the servlet context is destroyed.
SpringModule(BeanFactoryLoader) - Constructor for class org.directwebremoting.guice.spring.SpringModule
 

T

toString() - Method in class org.directwebremoting.guice.AbstractContextScope
 
type() - Method in class org.directwebremoting.guice.AbstractContextCloseHandler
 
type() - Method in class org.directwebremoting.guice.AbstractContextScope
 
type() - Method in interface org.directwebremoting.guice.ContextCloseHandler
The type of objects handled by this handler.
type() - Method in interface org.directwebremoting.guice.ContextScope
The type of object used as a context identifier.

V

valueOf(String) - Static method in enum org.directwebremoting.guice.ParamName
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.directwebremoting.guice.ParamName
Returns an array containing the constants of this enum type, in the order they're declared.

W

WebApplicationContextLoader - Class in org.directwebremoting.guice.spring
A BeanFactory loader that loads a WebApplicationContext given a servlet context.
WebApplicationContextLoader(ServletContext) - Constructor for class org.directwebremoting.guice.spring.WebApplicationContextLoader
 

A B C D F G I L O P R S T V W

Copyright © 2007. All Rights Reserved.