Modifier and Type | Class and Description |
---|---|
class |
ModuleCollection
A module that decorates a collection of other modules.
|
Modifier and Type | Field and Description |
---|---|
protected Module |
CayenneRuntime.module |
Modifier and Type | Method and Description |
---|---|
Module |
CayenneRuntime.getModule()
Returns the module used to initialize this runtime.
|
Module[] |
CayenneRuntime.getModules()
Deprecated.
since 4.0. We only keep one module now, so use
CayenneRuntime.getModule() . |
Modifier and Type | Method and Description |
---|---|
Collection<Module> |
ModuleCollection.getModules() |
Modifier and Type | Method and Description |
---|---|
ModuleCollection |
ModuleCollection.add(Module... modules) |
Modifier and Type | Method and Description |
---|---|
ModuleCollection |
ModuleCollection.add(Collection<Module> modules) |
Constructor and Description |
---|
CayenneRuntime(Module module)
Creates a CayenneRuntime with configuration based on the supplied array
of DI modules.
|
ModuleCollection(Module... modules) |
Modifier and Type | Class and Description |
---|---|
class |
OsgiModule
A DI module that helps to bootstrap Cayenne in OSGi environment.
|
Modifier and Type | Method and Description |
---|---|
Module |
OsgiModuleBuilder.module() |
Modifier and Type | Class and Description |
---|---|
class |
ClientModule
A DI module containing all Cayenne ROP client runtime configurations.
|
Constructor and Description |
---|
ClientLocalRuntime(Injector serverInjector,
Map<String,String> properties,
Module... extraModules) |
ClientRuntime(Map<String,String> properties,
Module... extraModules)
Creates a client runtime configuring it with a standard set of services
contained in
ClientModule . |
Constructor and Description |
---|
ClientLocalRuntime(Injector serverInjector,
Map<String,String> properties,
Collection<Module> extraModules) |
ClientRuntime(Map<String,String> properties,
Collection<Module> extraModules)
Creates a client runtime configuring it with a standard set of services
contained in
ClientModule . |
Modifier and Type | Class and Description |
---|---|
class |
ROPServerModule
A DI module that defines services for the server-side of an ROP application based on
Caucho Hessian.
|
Modifier and Type | Class and Description |
---|---|
class |
ServerModule
A DI module containing all Cayenne server runtime configuration.
|
Modifier and Type | Method and Description |
---|---|
ServerRuntimeBuilder |
ServerRuntimeBuilder.addModule(Module module) |
Modifier and Type | Method and Description |
---|---|
ServerRuntimeBuilder |
ServerRuntimeBuilder.addModules(Collection<Module> modules) |
Constructor and Description |
---|
ServerRuntime(String[] configurationLocations,
Module... extraModules)
Creates a server runtime configuring it with a standard set of services
contained in
ServerModule . |
ServerRuntime(String configurationLocation,
Module... extraModules)
Creates a server runtime configuring it with a standard set of services
contained in
ServerModule . |
Modifier and Type | Class and Description |
---|---|
class |
WebModule |
Modifier and Type | Method and Description |
---|---|
Collection<Module> |
WebConfiguration.createModules(Module... standardModules)
Creates and returns a collection of modules made of provided standard modules and
extra custom modules specified via an optional "extra-modules" init parameter.
|
protected Collection<Module> |
CayenneFilter.getAdditionalModules()
Subclasses may override this to specify additional modules that should be included when creating the CayenneRuntime (in addition to those specified in the web.xml file).
|
Modifier and Type | Method and Description |
---|---|
Collection<Module> |
WebConfiguration.createModules(Module... standardModules)
Creates and returns a collection of modules made of provided standard modules and
extra custom modules specified via an optional "extra-modules" init parameter.
|
Modifier and Type | Method and Description |
---|---|
static Injector |
DIBootstrap.createInjector(Module... modules)
Creates and returns an injector instance working with the set of provided modules.
|
Modifier and Type | Method and Description |
---|---|
static Injector |
DIBootstrap.createInjector(Collection<Module> modules)
Creates and returns an injector instance working with the set of provided modules.
|
Constructor and Description |
---|
DefaultInjector(Module... modules) |
Copyright © 2001–2016 Apache Cayenne. All rights reserved.