View Javadoc

1   /**
2    * Copyright 2005-2011 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.ksb.messaging.service;
17  
18  import javax.jws.WebMethod;
19  import javax.jws.WebParam;
20  import javax.jws.WebService;
21  import javax.jws.soap.SOAPBinding;
22  
23  import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
24  import org.kuali.rice.ksb.api.KsbApiConstants;
25  
26  /**
27   * A service for administrative functions for a node on the service bus.
28   *
29   * @author Kuali Rice Team (rice.collab@kuali.org)
30   *
31   */
32  @WebService(name = "busAdminService", targetNamespace = KsbApiConstants.Namespaces.KSB_NAMESPACE_2_0)
33  @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
34  public interface BusAdminService {
35  
36  	@WebMethod(operationName="ping")
37      void ping();
38  
39  	@WebMethod(operationName="setCorePoolSize")
40      void setCorePoolSize(@WebParam(name = "corePoolSize") int corePoolSize) throws RiceIllegalArgumentException;
41  
42  	@WebMethod(operationName="setMaximumPoolSize")
43      void setMaximumPoolSize(@WebParam(name = "maxPoolSize") int maxPoolSize) throws RiceIllegalArgumentException;
44  
45  	@WebMethod(operationName="setConfigProperty")
46      void setConfigProperty(@WebParam(name = "propertyName") String propertyName,
47      		@WebParam(name = "propertyValue") String propertyValue) throws RiceIllegalArgumentException;
48  
49  }