AeroGear Android Library 1.1.0

org.jboss.aerogear.android.authentication.impl.loader.support
Class AbstractSupportAuthenticationLoader

java.lang.Object
  extended by android.support.v4.content.Loader<D>
      extended by android.support.v4.content.AsyncTaskLoader<HeaderAndBody>
          extended by org.jboss.aerogear.android.authentication.impl.loader.support.AbstractSupportAuthenticationLoader
Direct Known Subclasses:
SupportEnrollLoader, SupportLoginLoader, SupportLogoutLoader

public abstract class AbstractSupportAuthenticationLoader
extends android.support.v4.content.AsyncTaskLoader<HeaderAndBody>

This class provides a reference to the callback, authentication module, and possible exceptions for the authentication loaders, modules, and call backs which may use it. This class and its subclasses use the Loaders from android.support and will work on devices < Android 3.0. If your application does not need to support these devices see AbstractAuthenticationLoader


Nested Class Summary
 
Nested classes/interfaces inherited from class android.support.v4.content.Loader
android.support.v4.content.Loader.ForceLoadContentObserver, android.support.v4.content.Loader.OnLoadCompleteListener<D>
 
Field Summary
protected  Callback callback
           
protected  AuthenticationModule module
           
 
Constructor Summary
AbstractSupportAuthenticationLoader(android.content.Context context, AuthenticationModule module, Callback callback)
           
 
Method Summary
 Callback<HeaderAndBody> getCallback()
           
 Exception getException()
           
 AuthenticationModule getModule()
           
 boolean hasException()
           
protected  void setException(Exception exception)
           
 
Methods inherited from class android.support.v4.content.AsyncTaskLoader
cancelLoad, dump, loadInBackground, onCanceled, onForceLoad, onLoadInBackground, setUpdateThrottle, waitForLoader
 
Methods inherited from class android.support.v4.content.Loader
abandon, dataToString, deliverResult, forceLoad, getContext, getId, isAbandoned, isReset, isStarted, onAbandon, onContentChanged, onReset, onStartLoading, onStopLoading, registerListener, reset, startLoading, stopLoading, takeContentChanged, toString, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

callback

protected final Callback callback

module

protected final AuthenticationModule module
Constructor Detail

AbstractSupportAuthenticationLoader

public AbstractSupportAuthenticationLoader(android.content.Context context,
                                           AuthenticationModule module,
                                           Callback callback)
Method Detail

getCallback

public Callback<HeaderAndBody> getCallback()

getModule

public AuthenticationModule getModule()

hasException

public boolean hasException()

getException

public Exception getException()

setException

protected void setException(Exception exception)

AeroGear Android Library 1.1.0

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.