AeroGear Android Library 1.1.0

org.jboss.aerogear.android.authentication.impl.loader
Class AbstractAuthenticationLoader

java.lang.Object
  extended by android.content.Loader<D>
      extended by android.content.AsyncTaskLoader<HeaderAndBody>
          extended by org.jboss.aerogear.android.authentication.impl.loader.AbstractAuthenticationLoader
Direct Known Subclasses:
EnrollLoader, LoginLoader, LogoutLoader

public abstract class AbstractAuthenticationLoader
extends android.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.content and will not work on devices < Android 3.0. For these devices see AbstractSupportAuthenticationLoader


Nested Class Summary
 
Nested classes/interfaces inherited from class android.content.Loader
android.content.Loader.ForceLoadContentObserver, android.content.Loader.OnLoadCompleteListener<D>
 
Field Summary
protected  Callback callback
           
protected  AuthenticationModule module
           
 
Constructor Summary
AbstractAuthenticationLoader(android.content.Context context, AuthenticationModule module, Callback callback)
           
 
Method Summary
 Callback getCallback()
           
 Exception getException()
           
 AuthenticationModule getModule()
           
protected  void setException(Exception exception)
           
 
Methods inherited from class android.content.AsyncTaskLoader
cancelLoad, dump, loadInBackground, onCanceled, onForceLoad, onLoadInBackground, setUpdateThrottle
 
Methods inherited from class android.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

AbstractAuthenticationLoader

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

getCallback

public Callback getCallback()

getModule

public AuthenticationModule getModule()

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.