exedio cope

com.exedio.cope.util
Class ServletUtil

java.lang.Object
  extended by com.exedio.cope.util.ServletUtil

public final class ServletUtil
extends Object


Method Summary
static ConnectToken connect(Model model, FilterConfig config, String name)
           
static ConnectToken connect(Model model, ServletConfig config, String name)
          Connects the model using the properties from the file cope.properties in the directory WEB-INF of the web application.
static ConnectToken getConnectedModel(Filter filter, FilterConfig config)
           
static ConnectToken getConnectedModel(Servlet servlet)
           
static ConnectToken getModel(Filter filter, FilterConfig config)
          Deprecated. Use getConnectedModel(Filter,FilterConfig) instead
static ConnectToken getModel(Servlet servlet)
          Deprecated. Use getConnectedModel(Servlet) instead
static com.exedio.cope.util.Properties.Source getPropertyContext(ServletContext context)
           
static ConnectToken initialize(Model model, ServletConfig config, String name)
          Deprecated. Renamed to connect(Model, ServletConfig, String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnectedModel

public static final ConnectToken getConnectedModel(Servlet servlet)
                                            throws ServletException
Throws:
ServletException

getConnectedModel

public static final ConnectToken getConnectedModel(Filter filter,
                                                   FilterConfig config)
                                            throws ServletException
Throws:
ServletException

connect

public static final ConnectToken connect(Model model,
                                         ServletConfig config,
                                         String name)
Connects the model using the properties from the file cope.properties in the directory WEB-INF of the web application.

See Also:
Model.connect(com.exedio.cope.ConnectProperties), ConnectToken.issue(Model,com.exedio.cope.ConnectProperties,String)

connect

public static final ConnectToken connect(Model model,
                                         FilterConfig config,
                                         String name)

getPropertyContext

public static final com.exedio.cope.util.Properties.Source getPropertyContext(ServletContext context)

getModel

@Deprecated
public static final ConnectToken getModel(Servlet servlet)
                                   throws ServletException
Deprecated. Use getConnectedModel(Servlet) instead

Throws:
ServletException

getModel

@Deprecated
public static final ConnectToken getModel(Filter filter,
                                                     FilterConfig config)
                                   throws ServletException
Deprecated. Use getConnectedModel(Filter,FilterConfig) instead

Throws:
ServletException

initialize

@Deprecated
public static final ConnectToken initialize(Model model,
                                                       ServletConfig config,
                                                       String name)
Deprecated. Renamed to connect(Model, ServletConfig, String).


Cope with
Object
Persistence

SourceForge.net LogoCopyright © 2004-2008 exedio Gesellschaft für Softwareentwicklung mbH. All rights reserved.
svn.12752 build.5319 20090312135114