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()
           
 
Method Summary
static Adaptrex getAdaptrex()
           
 AdaptrexConfig getConfig()
           
 AdaptrexPersistence getPersistence()
           
 AdaptrexPersistence getPersistence(String factoryName)
           
 AdaptrexPersistenceManager getPersistenceManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Adaptrex

public Adaptrex()
Method Detail

getConfig

public AdaptrexConfig getConfig()

getPersistenceManager

public AdaptrexPersistenceManager getPersistenceManager()

getPersistence

public AdaptrexPersistence getPersistence()

getPersistence

public AdaptrexPersistence getPersistence(String factoryName)

getAdaptrex

public static Adaptrex getAdaptrex()


Copyright © 2012 Adaptrex, LLC. All Rights Reserved.