com.adaptrex.core
Class Adaptrex
java.lang.Object
com.adaptrex.core.Adaptrex
public class Adaptrex
- extends Object
An instance of this class is the main entry point into Adaptrex services. Your webapp
needs to bootstrap Adaptrex before it can be used. For
more information on bootstrapping, see AdaptrexContextListener
In general, most interactions with Adaptrex use the following:
- Built in presentation components (JSF, JSP, Tapestry, etc)
- Store and Model CRUD methods (REST API)
In those cases, you do not need to access the Adaptrex service directly. If you do
need access to some services (such as AdaptrexPersistence) you can retrieve them directly
from the Adaptrex service instance. You can always retrieve the service by calling
Adaptrex.getAdaptrex() or by whatever other mechanism you have enabled in your application
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE
public static final String ATTRIBUTE
- See Also:
- Constant Field Values
Adaptrex
public Adaptrex()
throws Exception
- Throws:
Exception
Adaptrex
public Adaptrex(AdaptrexPersistenceManager... opms)
throws Exception
- Throws:
Exception
initialize
public void initialize(javax.servlet.ServletContext context)
getPersistenceManager
public AdaptrexPersistenceManager getPersistenceManager()
getPersistenceManager
public AdaptrexPersistenceManager getPersistenceManager(String factoryName)
getRestService
public RestService getRestService()
getProperties
public AdaptrexProperties getProperties()
shutdown
public void shutdown()
get
public static Adaptrex get(javax.servlet.ServletContext context)
get
public static Adaptrex get(javax.servlet.http.HttpServletRequest request)
Copyright © 2012 Adaptrex, LLC. All Rights Reserved.