com.adaptrex.core
Class Adaptrex

java.lang.Object
  extended by 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:

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


Constructor Summary
Adaptrex(javax.servlet.ServletContext context)
           
 
Method Summary
static Adaptrex getAdaptrex()
           
 AdaptrexConfig getConfig()
           
 AdaptrexPersistenceManager getPersistenceManager()
           
static void init(Adaptrex adaptrex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Adaptrex

public Adaptrex(javax.servlet.ServletContext context)
Method Detail

getConfig

public AdaptrexConfig getConfig()

getPersistenceManager

public AdaptrexPersistenceManager getPersistenceManager()

getAdaptrex

public static Adaptrex getAdaptrex()

init

public static void init(Adaptrex adaptrex)


Copyright © 2012 Adaptrex, LLC. All Rights Reserved.