org.apache.cayenne.configuration.server
Class ServerModule
java.lang.Object
org.apache.cayenne.configuration.server.ServerModule
- All Implemented Interfaces:
- Module
public class ServerModule
- extends Object
- implements Module
A DI module containing all Cayenne server runtime configuration.
- Since:
- 3.1
Constructor Summary |
ServerModule(String... configurationLocations)
Creates a ServerModule with at least one configuration location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configurationLocations
protected String[] configurationLocations
ServerModule
public ServerModule(String... configurationLocations)
- Creates a ServerModule with at least one configuration location. For multi-module
projects additional locations can be specified as well.
configure
public void configure(Binder binder)
- Specified by:
configure
in interface Module
Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.