org.kuali.rice.ksb.messaging.web
Class ServiceRegistryAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by org.kuali.rice.ksb.messaging.web.KSBAction
              extended by org.kuali.rice.ksb.messaging.web.ServiceRegistryAction

public class ServiceRegistryAction
extends KSBAction

Struts action for interacting with the queue of messages.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ServiceRegistryAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward deleteLocalhostEntries(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Enable deletion of localhost service registry entries
 org.apache.struts.action.ActionMessages establishRequiredState(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionForm actionForm)
           
private  List<ServiceInfo> getGlobalRegistryServices(RemoteResourceServiceLocator remoteLocator)
           
private  List<ServiceInfo> getPublishedServices(RemotedServiceRegistry registry)
           
private  List<ServiceInfo> getPublishedTempServices(RemotedServiceRegistry registry)
           
 org.apache.struts.action.ActionForward refreshServiceRegistry(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.kuali.rice.ksb.messaging.web.KSBAction
checkAuthorization, establishFinalState, execute, getKualiModuleService, getRoleQualification, noOp, refresh
 
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, getMethod, getMethodName, getParameter, unspecified
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRegistryAction

public ServiceRegistryAction()
Method Detail

start

public org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws IOException,
                                                    javax.servlet.ServletException
Specified by:
start in class KSBAction
Throws:
IOException
javax.servlet.ServletException

refreshServiceRegistry

public org.apache.struts.action.ActionForward refreshServiceRegistry(org.apache.struts.action.ActionMapping mapping,
                                                                     org.apache.struts.action.ActionForm form,
                                                                     javax.servlet.http.HttpServletRequest request,
                                                                     javax.servlet.http.HttpServletResponse response)
                                                              throws IOException,
                                                                     javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

deleteLocalhostEntries

public org.apache.struts.action.ActionForward deleteLocalhostEntries(org.apache.struts.action.ActionMapping mapping,
                                                                     org.apache.struts.action.ActionForm form,
                                                                     javax.servlet.http.HttpServletRequest request,
                                                                     javax.servlet.http.HttpServletResponse response)
                                                              throws IOException,
                                                                     javax.servlet.ServletException
Enable deletion of localhost service registry entries

Throws:
IOException
javax.servlet.ServletException

establishRequiredState

public org.apache.struts.action.ActionMessages establishRequiredState(javax.servlet.http.HttpServletRequest request,
                                                                      org.apache.struts.action.ActionForm actionForm)
                                                               throws Exception
Specified by:
establishRequiredState in class KSBAction
Throws:
Exception

getPublishedServices

private List<ServiceInfo> getPublishedServices(RemotedServiceRegistry registry)

getPublishedTempServices

private List<ServiceInfo> getPublishedTempServices(RemotedServiceRegistry registry)

getGlobalRegistryServices

private List<ServiceInfo> getGlobalRegistryServices(RemoteResourceServiceLocator remoteLocator)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.