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 |
Adaptrex
public Adaptrex()
getPersistenceManager
public ORMPersistenceManager getPersistenceManager()
getPersistenceManager
public ORMPersistenceManager getPersistenceManager(String factoryName)
getRest
public RestService getRest()
Copyright © 2012 Adaptrex, LLC. All Rights Reserved.