ProgramixGenericLib v5.0.1

Uses of Class
com.programix.da2.exception.DAException

Packages that use DAException
com.programix.da2 Framework for using the "DataAccess Interface Design Pattern". 
com.programix.da2.bridge   
com.programix.da2.bridge.http   
com.programix.da2.exception   
 

Uses of DAException in com.programix.da2
 

Methods in com.programix.da2 that return DAException
static DAException DATools.chainWithPrefix(String msg, Throwable cause)
          Returns a new DAException with that has the specified cause chained to it and a message the starts with the specified prefix and ends with the message from the cause.
static DAException DATools.convert(Throwable x)
          Takes the specified Throwable and wraps it in a DAException (if necessary).
 

Methods in com.programix.da2 that throw DAException
static void DATools.checkType(Class<? extends GenericDA> daInterfaceType, GenericDA daImplementation)
           
static void DATools.checkType(Class<? extends GenericDA> daInterfaceType, GenericDA daImplementation, String exceptionPrefix)
           
static
<T extends GenericDA>
T
DAFactory.create(File file, Class<T> targetType)
          Create a data access instance using an File whose data is in the format described by ValueMap (nearly identical to the format for a Properties file).
static
<T extends GenericDA>
T
DAFactory.create(InputStream rawIn, Class<T> targetType)
          Create a data access instance using an InputStream whose data is in the format described by ValueMap (nearly identical to the format for a Properties file).
static
<T extends GenericDA>
T
DAFactory.create(Reader rawIn, Class<T> targetType)
          Create a data access instance using a Reader whose data is in the format described by ValueMap (nearly identical to the format for a Properties file).
static
<T extends GenericDA>
T
DAFactory.create(URL propertiesURL, Class<T> targetType)
          Create a data access instance using the specified URL whose data is in the format described by ValueMap(nearly identical to the format for a Properties file).
static
<T extends GenericDA>
T
DAFactory.create(ValueMap config, Class<T> daInterfaceType)
          Constructs an instance of the data access implementation specified in the configuration.
static
<T extends GenericDA>
T
DAFactory.createFromFile(String filename, Class<T> targetType)
          Create a data access instance using the specified filename whose data is in the format described by ValueMap(nearly identical to the format for a Properties file).
static
<T extends GenericDA>
T
DAFactory.createFromResource(String resourceLocation, Class<T> targetType)
          Create a data access instance using the specified resourceLocation whose data is in the format described by ValueMap(nearly identical to the format for a Properties file).
<T extends GenericDA>
T
AggregateDASource.getDA(Class<T> daInterfaceType)
           
<T extends GenericDA>
T
ConfigDASource.getDA(Class<T> daInterfaceType)
           
<T extends GenericDA>
T
DASource.getDA(Class<T> daInterfaceType)
          Searches for an implementation of the specified interface type.
<T extends GenericDA>
T
DASourceAdapter.getDA(Class<T> daInterfaceType)
           
<T extends GenericDA>
T
DAStore.getDA(Class<T> daInterfaceType)
           
<T extends GenericDA>
T
DAExchange.getDA(Class<T> daInterfaceType, long msTimeout)
          Returns a DA of the specified daInterfaceType potentially waiting for it to become available.
 void GenericDA.init(ValueMap config)
          Called once just after construction to allow the implementation to setup everything required to run.
 boolean AggregateDASource.isAvailable(Class<? extends GenericDA> daInterfaceType)
           
 boolean ConfigDASource.isAvailable(Class<? extends GenericDA> daInterfaceType)
           
 boolean DASource.isAvailable(Class<? extends GenericDA> daInterfaceType)
          Searches for an implementation of the specified interface type and returns true if one is available.
 boolean DASourceAdapter.isAvailable(Class<? extends GenericDA> daInterfaceType)
           
 boolean DAStore.isAvailable(Class<? extends GenericDA> daInterfaceType)
           
 void DecoratorDA.setDecoree(GenericDA decoree)
          Specifies the decoree that is to be decorated by this decorator.
 void DAExchange.share(Class<? extends GenericDA> daInterfaceType, GenericDA daImplementation)
          Called to share the specified DA type and implementation.
 

Uses of DAException in com.programix.da2.bridge
 

Subclasses of DAException in com.programix.da2.bridge
 class DABridgeDAException
          Used for problems with the DABridge subsystem.
 

Methods in com.programix.da2.bridge that throw DAException
static DASource DABridgeFactory.createHttpBridgeDASource(String url)
           
static DABridgeProcessor DABridgeFactory.createNoSecurityProcessor(DASource daSource)
          Creates a DABridgeProcessor that has NO security and NO sessions (all requests are honored) and uses the specified daSource for completing the processing of the requests.
<T extends GenericDA>
T
DABridgeProxy.getDA(Class<T> daInterfaceType)
           
 Exception DABridgeResponse.getException()
           
 Object DABridgeResponse.getResult()
           
 void DABridgeNoSecurityNoSessionProcessor.init(ValueMap config)
           
 void DABridgeProcessor.init(ValueMap config)
           
 void DABridgeSessionProcessor.init(ValueMap config)
           
 boolean DABridgeProxy.isAvailable(Class<? extends GenericDA> daInterfaceType)
           
 DABridgeResponse DABridgeNoSecurityNoSessionProcessor.process(DABridgeRequest req)
           
 DABridgeResponse DABridgeProcessor.process(DABridgeRequest req)
           
 DABridgeResponse DABridgeSessionProcessor.process(DABridgeRequest req)
           
 

Constructors in com.programix.da2.bridge that throw DAException
DABridgeProxy(DABridgeProcessor processor)
           
 

Uses of DAException in com.programix.da2.bridge.http
 

Methods in com.programix.da2.bridge.http that throw DAException
 void HttpDABridgeProcessor.init(ValueMap config)
          The required key needed in the config is HttpDABridgeProcessor.SERVLET_URL_KEY.
 DABridgeResponse HttpDABridgeProcessor.process(DABridgeRequest req)
           
protected abstract  void DABridgeServlet.setup()
          Subclasses must implement this method to setup the DABridgeProcessor that will be used to service client requests.
 

Uses of DAException in com.programix.da2.exception
 

Subclasses of DAException in com.programix.da2.exception
 class CommunicationDAException
          This kind of DAException is thrown to indicate that there was a communication problem while trying to process the request.
 class DataStateDAException
          This kind of DAException is thrown to indicate that there is a problem with the state of the data (such as locked by another user, stale data, unexpectedly not found).
 class LockedDAException
          This kind of DataStateDAException is thrown to indicate that there is a problem accessing the data because it is currently locked.
 class NotAuthenticatedDAException
          This kind of SecurityDAException is thrown to indicate that the user has not been authenticated.
 class NotAuthorizedDAException
          This kind of SecurityDAException is thrown to indicate that the user is not authorized to perform the attempted action.
 class NotFoundDAException
          This kind of DataStateDAException is thrown to indicate that there is a problem the data was very unexpectedly not found.
 class NotYetAvailableDAException
          This kind of DAException is used to signal that something is not yet available or ready.
 class SecurityDAException
          This kind of DAException is used to signal that there is a security-based problem fulfilling the request.
 class ShutdownDAException
          This kind of DAException is thrown to indicate that the attempted call can no be completed because the DA has been shutdown.
 class StaleDataDAException
          Used with Optimistic Concurrency Control to indicate that there has been an attempt to update a record with a stale version.
 class ValidationDAException
          This kind of DAException is thrown to indicate that there was a problem validating the data.
 


ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.