org.apache.cayenne.configuration.server
Class ServerModule

java.lang.Object
  extended by org.apache.cayenne.configuration.server.ServerModule
All Implemented Interfaces:
Module

public class ServerModule
extends java.lang.Object
implements Module

A DI module containing all Cayenne server runtime configuration.

Since:
3.1

Field Summary
protected  java.lang.String[] configurationLocations
           
 
Constructor Summary
ServerModule(java.lang.String... configurationLocations)
          Creates a ServerModule with at least one configuration location.
 
Method Summary
 void configure(Binder binder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configurationLocations

protected java.lang.String[] configurationLocations
Constructor Detail

ServerModule

public ServerModule(java.lang.String... configurationLocations)
Creates a ServerModule with at least one configuration location. For multi-module projects additional locations can be specified as well.

Method Detail

configure

public void configure(Binder binder)
Specified by:
configure in interface Module


Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.