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 Object
implements Module

A DI module containing all Cayenne server runtime configuration.

Since:
3.1

Field Summary
static String CONFIGURATION_LOCATION
          A property defining the location of the runtime configuration XML resource or file.
protected  String configurationLocation
           
 
Constructor Summary
ServerModule(String configurationLocation)
           
 
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

CONFIGURATION_LOCATION

public static final String CONFIGURATION_LOCATION
A property defining the location of the runtime configuration XML resource or file.

See Also:
Constant Field Values

configurationLocation

protected String configurationLocation
Constructor Detail

ServerModule

public ServerModule(String configurationLocation)
Method Detail

configure

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


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