org.onebusaway.presentation.impl.users
Class IsSetupInterceptor

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.AbstractInterceptor
      extended by org.onebusaway.presentation.impl.users.IsSetupInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class IsSetupInterceptor
extends com.opensymphony.xwork2.interceptor.AbstractInterceptor

Ensures that the webapp has been set up with at least one admin user

See Also:
Serialized Form

Constructor Summary
IsSetupInterceptor()
           
 
Method Summary
 String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
           
 void setInitialSetupService(InitialSetupService initialSetupService)
           
 
Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor
destroy, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsSetupInterceptor

public IsSetupInterceptor()
Method Detail

setInitialSetupService

public void setInitialSetupService(InitialSetupService initialSetupService)

intercept

public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
                 throws Exception
Specified by:
intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
Specified by:
intercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptor
Throws:
Exception


Copyright © 2011 OneBusAway. All Rights Reserved.