Path: blob/master/test/jdk/javax/management/security/MBS_LightMBean.java
41149 views
/*1* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/2223@SqeDescriptorKey("INTERFACE MBS_LightMBean")24public interface MBS_LightMBean {25// Getter for property param26@SqeDescriptorKey("ATTRIBUTE Param")27public RjmxMBeanParameter getParam() ;2829// Setter for property param30@SqeDescriptorKey("ATTRIBUTE Param")31public void setParam(RjmxMBeanParameter param) ;3233// Getter for property aString34@SqeDescriptorKey("ATTRIBUTE Astring")35public String getAstring() ;3637// Setter for property aString38@SqeDescriptorKey("ATTRIBUTE Astring")39public void setAstring(String aString) ;4041// Getter for property anInt42@SqeDescriptorKey("ATTRIBUTE AnInt")43public int getAnInt() ;4445// Setter for property anInt46@SqeDescriptorKey("ATTRIBUTE AnInt")47public void setAnInt(int anInt) ;4849// Getter for property anException50@SqeDescriptorKey("ATTRIBUTE AnException")51public Exception getAnException() ;5253// Setter for property anException54@SqeDescriptorKey("ATTRIBUTE AnException")55public void setAnException(Exception anException) ;5657// Getter for property anError58@SqeDescriptorKey("ATTRIBUTE AnError")59public Error getAnError() ;6061// Setter for property anError62@SqeDescriptorKey("ATTRIBUTE AnError")63public void setAnError(Error anError) ;6465// An operation66@SqeDescriptorKey("OPERATION operate1")67public RjmxMBeanParameter operate1(68@SqeDescriptorKey("OPERATION PARAMETER name")String name) ;6970// An operation71@SqeDescriptorKey("OPERATION operate2")72public String operate2(73@SqeDescriptorKey("OPERATION PARAMETER param")RjmxMBeanParameter param) ;7475// Throws an error76@SqeDescriptorKey("OPERATION throwError")77public void throwError();7879// Throws an exception80@SqeDescriptorKey("OPERATION throwException")81public void throwException() throws Exception;8283// Send a notification84@SqeDescriptorKey("OPERATION sendNotification")85public void sendNotification();8687// Receive a notification and return the type88@SqeDescriptorKey("OPERATION waitForNotification")89public String waitForNotification();9091// Receive a notification and return the HandBack92@SqeDescriptorKey("OPERATION waitForNotificationHB")93public Object waitForNotificationHB();9495// Receive multi notifications and return the HandBacks96@SqeDescriptorKey("OPERATION waitForMultiNotifications")97public Object[] waitForMultiNotifications(98@SqeDescriptorKey("OPERATION PARAMETER nb")String nb);99100// Is the notification received101@SqeDescriptorKey("OPERATION notificationReceived")102public Boolean notificationReceived();103104// Return the current authorization Id105@SqeDescriptorKey("OPERATION getAuthorizationId")106public String getAuthorizationId();107}108109110