Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/jdk/javax/management/security/MBS_LightMBean.java
41149 views
1
/*
2
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation.
8
*
9
* This code is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* version 2 for more details (a copy is included in the LICENSE file that
13
* accompanied this code).
14
*
15
* You should have received a copy of the GNU General Public License version
16
* 2 along with this work; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*/
23
24
@SqeDescriptorKey("INTERFACE MBS_LightMBean")
25
public interface MBS_LightMBean {
26
// Getter for property param
27
@SqeDescriptorKey("ATTRIBUTE Param")
28
public RjmxMBeanParameter getParam() ;
29
30
// Setter for property param
31
@SqeDescriptorKey("ATTRIBUTE Param")
32
public void setParam(RjmxMBeanParameter param) ;
33
34
// Getter for property aString
35
@SqeDescriptorKey("ATTRIBUTE Astring")
36
public String getAstring() ;
37
38
// Setter for property aString
39
@SqeDescriptorKey("ATTRIBUTE Astring")
40
public void setAstring(String aString) ;
41
42
// Getter for property anInt
43
@SqeDescriptorKey("ATTRIBUTE AnInt")
44
public int getAnInt() ;
45
46
// Setter for property anInt
47
@SqeDescriptorKey("ATTRIBUTE AnInt")
48
public void setAnInt(int anInt) ;
49
50
// Getter for property anException
51
@SqeDescriptorKey("ATTRIBUTE AnException")
52
public Exception getAnException() ;
53
54
// Setter for property anException
55
@SqeDescriptorKey("ATTRIBUTE AnException")
56
public void setAnException(Exception anException) ;
57
58
// Getter for property anError
59
@SqeDescriptorKey("ATTRIBUTE AnError")
60
public Error getAnError() ;
61
62
// Setter for property anError
63
@SqeDescriptorKey("ATTRIBUTE AnError")
64
public void setAnError(Error anError) ;
65
66
// An operation
67
@SqeDescriptorKey("OPERATION operate1")
68
public RjmxMBeanParameter operate1(
69
@SqeDescriptorKey("OPERATION PARAMETER name")String name) ;
70
71
// An operation
72
@SqeDescriptorKey("OPERATION operate2")
73
public String operate2(
74
@SqeDescriptorKey("OPERATION PARAMETER param")RjmxMBeanParameter param) ;
75
76
// Throws an error
77
@SqeDescriptorKey("OPERATION throwError")
78
public void throwError();
79
80
// Throws an exception
81
@SqeDescriptorKey("OPERATION throwException")
82
public void throwException() throws Exception;
83
84
// Send a notification
85
@SqeDescriptorKey("OPERATION sendNotification")
86
public void sendNotification();
87
88
// Receive a notification and return the type
89
@SqeDescriptorKey("OPERATION waitForNotification")
90
public String waitForNotification();
91
92
// Receive a notification and return the HandBack
93
@SqeDescriptorKey("OPERATION waitForNotificationHB")
94
public Object waitForNotificationHB();
95
96
// Receive multi notifications and return the HandBacks
97
@SqeDescriptorKey("OPERATION waitForMultiNotifications")
98
public Object[] waitForMultiNotifications(
99
@SqeDescriptorKey("OPERATION PARAMETER nb")String nb);
100
101
// Is the notification received
102
@SqeDescriptorKey("OPERATION notificationReceived")
103
public Boolean notificationReceived();
104
105
// Return the current authorization Id
106
@SqeDescriptorKey("OPERATION getAuthorizationId")
107
public String getAuthorizationId();
108
}
109
110