This file is indexed.

/usr/share/doc/libosgi-compendium-java/api/org/osgi/service/application/ApplicationDescriptor.html is in libosgi-compendium-java-doc 5.0.0-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html>
<head>
<!-- Generated by javadoc -->
<title>ApplicationDescriptor</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="ApplicationDescriptor";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":6,"i3":6,"i4":10,"i5":6,"i6":10,"i7":6,"i8":6,"i9":10,"i10":10,"i11":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/osgi/service/application/ApplicationAdminPermission.html" title="class in org.osgi.service.application"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/osgi/service/application/ApplicationException.html" title="class in org.osgi.service.application"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/osgi/service/application/ApplicationDescriptor.html" target="_top">Frames</a></li>
<li><a href="ApplicationDescriptor.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.osgi.service.application</div>
<h2 title="Class ApplicationDescriptor" class="title">Class ApplicationDescriptor</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.osgi.service.application.ApplicationDescriptor</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">ApplicationDescriptor</span>
extends java.lang.Object</pre>
<div class="block">An OSGi service that represents an installed application and stores
 information about it. The application descriptor can be used for instance
 creation.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_CONTAINER">APPLICATION_CONTAINER</a></span></code>
<div class="block">The property key for the application container of the application.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_COPYRIGHT">APPLICATION_COPYRIGHT</a></span></code>
<div class="block">The property key for the localized copyright notice of the application.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_DESCRIPTION">APPLICATION_DESCRIPTION</a></span></code>
<div class="block">The property key for the localized description of the application.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_DOCUMENTATION">APPLICATION_DOCUMENTATION</a></span></code>
<div class="block">The property key for the localized documentation of the application.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_ICON">APPLICATION_ICON</a></span></code>
<div class="block">The property key for the localized icon of the application.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_LAUNCHABLE">APPLICATION_LAUNCHABLE</a></span></code>
<div class="block">The property key for the launchable property of the application.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_LICENSE">APPLICATION_LICENSE</a></span></code>
<div class="block">The property key for the localized license of the application.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_LOCATION">APPLICATION_LOCATION</a></span></code>
<div class="block">The property key for the location of the application.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_LOCKED">APPLICATION_LOCKED</a></span></code>
<div class="block">The property key for the locked property of the application.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_NAME">APPLICATION_NAME</a></span></code>
<div class="block">The property key for the localized name of the application.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_PID">APPLICATION_PID</a></span></code>
<div class="block">The property key for the unique identifier (PID) of the application.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_VENDOR">APPLICATION_VENDOR</a></span></code>
<div class="block">The property key for the name of the application vendor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_VERSION">APPLICATION_VERSION</a></span></code>
<div class="block">The property key for the version of the application.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#APPLICATION_VISIBLE">APPLICATION_VISIBLE</a></span></code>
<div class="block">The property key for the visibility property of the application.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#ApplicationDescriptor-java.lang.String-">ApplicationDescriptor</a></span>(java.lang.String&nbsp;applicationId)</code>
<div class="block">Constructs the <code>ApplicationDescriptor</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#getApplicationId--">getApplicationId</a></span>()</code>
<div class="block">Returns the identifier of the represented application.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.util.Map</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#getProperties-java.lang.String-">getProperties</a></span>(java.lang.String&nbsp;locale)</code>
<div class="block">Returns the properties of the application descriptor as key-value pairs.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected abstract java.util.Map</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#getPropertiesSpecific-java.lang.String-">getPropertiesSpecific</a></span>(java.lang.String&nbsp;locale)</code>
<div class="block">Container implementations can provide application model specific and/or
 container implementation specific properties via this method.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#isLaunchableSpecific--">isLaunchableSpecific</a></span>()</code>
<div class="block">This method is called by launch() to verify that according to the
 container, the application is launchable.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/osgi/service/application/ApplicationHandle.html" title="class in org.osgi.service.application">ApplicationHandle</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#launch-java.util.Map-">launch</a></span>(java.util.Map&nbsp;arguments)</code>
<div class="block">Launches a new instance of an application.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../../../org/osgi/service/application/ApplicationHandle.html" title="class in org.osgi.service.application">ApplicationHandle</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#launchSpecific-java.util.Map-">launchSpecific</a></span>(java.util.Map&nbsp;arguments)</code>
<div class="block">Called by launch() to create and start a new instance in an application
 model specific way.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#lock--">lock</a></span>()</code>
<div class="block">Sets the lock state of the application.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#lockSpecific--">lockSpecific</a></span>()</code>
<div class="block">This method is used to notify the container implementation that the
 corresponding application has been locked and it should update the
 <code>application.locked</code> service property accordingly.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#matchDNChain-java.lang.String-">matchDNChain</a></span>(java.lang.String&nbsp;pattern)</code>
<div class="block">This method verifies whether the specified <code>pattern</code> matches the
 Distinguished Names of any of the certificate chains used to authenticate
 this application.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/osgi/service/application/ScheduledApplication.html" title="interface in org.osgi.service.application">ScheduledApplication</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#schedule-java.lang.String-java.util.Map-java.lang.String-java.lang.String-boolean-">schedule</a></span>(java.lang.String&nbsp;scheduleId,
        java.util.Map&nbsp;arguments,
        java.lang.String&nbsp;topic,
        java.lang.String&nbsp;eventFilter,
        boolean&nbsp;recurring)</code>
<div class="block">Schedules the application at a specified event.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#unlock--">unlock</a></span>()</code>
<div class="block">Unsets the lock state of the application.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/osgi/service/application/ApplicationDescriptor.html#unlockSpecific--">unlockSpecific</a></span>()</code>
<div class="block">This method is used to notify the container implementation that the
 corresponding application has been unlocked and it should update the
 <code>application.locked</code> service property accordingly.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="APPLICATION_NAME">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_NAME</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_NAME</pre>
<div class="block">The property key for the localized name of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_NAME">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_ICON">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_ICON</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_ICON</pre>
<div class="block">The property key for the localized icon of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_ICON">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_PID">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_PID</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_PID</pre>
<div class="block">The property key for the unique identifier (PID) of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_PID">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_VERSION">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_VERSION</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_VERSION</pre>
<div class="block">The property key for the version of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_VERSION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_VENDOR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_VENDOR</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_VENDOR</pre>
<div class="block">The property key for the name of the application vendor.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_VENDOR">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_VISIBLE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_VISIBLE</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_VISIBLE</pre>
<div class="block">The property key for the visibility property of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_VISIBLE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_LAUNCHABLE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_LAUNCHABLE</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_LAUNCHABLE</pre>
<div class="block">The property key for the launchable property of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_LAUNCHABLE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_LOCKED">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_LOCKED</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_LOCKED</pre>
<div class="block">The property key for the locked property of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_LOCKED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_DESCRIPTION">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_DESCRIPTION</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_DESCRIPTION</pre>
<div class="block">The property key for the localized description of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_DESCRIPTION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_DOCUMENTATION">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_DOCUMENTATION</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_DOCUMENTATION</pre>
<div class="block">The property key for the localized documentation of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_DOCUMENTATION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_COPYRIGHT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_COPYRIGHT</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_COPYRIGHT</pre>
<div class="block">The property key for the localized copyright notice of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_COPYRIGHT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_LICENSE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_LICENSE</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_LICENSE</pre>
<div class="block">The property key for the localized license of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_LICENSE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_CONTAINER">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_CONTAINER</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_CONTAINER</pre>
<div class="block">The property key for the application container of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_CONTAINER">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_LOCATION">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>APPLICATION_LOCATION</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_LOCATION</pre>
<div class="block">The property key for the location of the application.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.osgi.service.application.ApplicationDescriptor.APPLICATION_LOCATION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="ApplicationDescriptor-java.lang.String-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ApplicationDescriptor</h4>
<pre>protected&nbsp;ApplicationDescriptor(java.lang.String&nbsp;applicationId)</pre>
<div class="block">Constructs the <code>ApplicationDescriptor</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>applicationId</code> - The identifier of the application. Its value is also
        available as the <code>service.pid</code> service property of this
        <code>ApplicationDescriptor</code> service. This parameter must not be
        <code>null</code>.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - if the specified <code>applicationId</code> is
         null.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getApplicationId--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationId</h4>
<pre>public final&nbsp;java.lang.String&nbsp;getApplicationId()</pre>
<div class="block">Returns the identifier of the represented application.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the identifier of the represented application</dd>
</dl>
</li>
</ul>
<a name="matchDNChain-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchDNChain</h4>
<pre>public abstract&nbsp;boolean&nbsp;matchDNChain(java.lang.String&nbsp;pattern)</pre>
<div class="block">This method verifies whether the specified <code>pattern</code> matches the
 Distinguished Names of any of the certificate chains used to authenticate
 this application.
 <p>
 The <code>pattern</code> must adhere to the syntax defined in
 <a href="../../../../org/osgi/service/application/ApplicationAdminPermission.html" title="class in org.osgi.service.application"><code>ApplicationAdminPermission</code></a> for
 signer attributes.
 <p>
 This method is used by
 <a href="../../../../org/osgi/service/application/ApplicationAdminPermission.html#implies-java.security.Permission-"><code>ApplicationAdminPermission.implies(java.security.Permission)</code></a>
 method to match target <code>ApplicationDescriptor</code> and filter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - a pattern for a chain of Distinguished Names. It must not
        be null.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if the specified pattern matches at least one of the
         certificate chains used to authenticate this application</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - if the specified <code>pattern</code> is null.</dd>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor was
         unregistered</dd>
</dl>
</li>
</ul>
<a name="getProperties-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperties</h4>
<pre>public final&nbsp;java.util.Map&nbsp;getProperties(java.lang.String&nbsp;locale)</pre>
<div class="block">Returns the properties of the application descriptor as key-value pairs.
 The return value contains the locale aware and unaware properties as
 well. The returned <code>Map</code> will include the service properties of
 this <code>ApplicationDescriptor</code> as well.
 <p>
 This method will call the <code>getPropertiesSpecific</code> method to enable
 the container implementation to insert application model and/or container
 implementation specific properties.
 <p>
 The returned <code>Map</code> will contain the standard OSGi service
 properties as well (e.g. service.id, service.vendor etc.) and specialized
 application descriptors may offer further service properties. The
 returned Map contains a snapshot of the properties. It will not reflect
 further changes in the property values nor will the update of the Map
 change the corresponding service property.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>locale</code> - the locale string, it may be null, the value null means the
        default locale. If the provided locale is the empty String (
        <code>""</code>)then raw (non-localized) values are returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>copy of the service properties of this application descriptor
         service, according to the specified locale. If locale is null
         then the default locale's properties will be returned. (Since
         service properties are always exist it cannot return null.)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
</dl>
</li>
</ul>
<a name="getPropertiesSpecific-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPropertiesSpecific</h4>
<pre>protected abstract&nbsp;java.util.Map&nbsp;getPropertiesSpecific(java.lang.String&nbsp;locale)</pre>
<div class="block">Container implementations can provide application model specific and/or
 container implementation specific properties via this method.
 
 Localizable properties must be returned localized if the provided
 <code>locale</code> argument is not the empty String. The value <code>null</code>
 indicates to use the default locale, for other values the specified
 locale should be used.
 
 The returned <code>Map</code> must contain the standard OSGi service
 properties as well (e.g. service.id, service.vendor etc.) and specialized
 application descriptors may offer further service properties. The
 returned <code>Map</code> contains a snapshot of the properties. It will not
 reflect further changes in the property values nor will the update of the
 Map change the corresponding service property.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>locale</code> - the locale to be used for localizing the properties. If
        <code>null</code> the default locale should be used. If it is the empty
        String (<code>""</code>) then raw (non-localized) values should be
        returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the application model specific and/or container implementation
         specific properties of this application descriptor.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
</dl>
</li>
</ul>
<a name="launch-java.util.Map-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>launch</h4>
<pre>public final&nbsp;<a href="../../../../org/osgi/service/application/ApplicationHandle.html" title="class in org.osgi.service.application">ApplicationHandle</a>&nbsp;launch(java.util.Map&nbsp;arguments)
                               throws <a href="../../../../org/osgi/service/application/ApplicationException.html" title="class in org.osgi.service.application">ApplicationException</a></pre>
<div class="block">Launches a new instance of an application. The <code>args</code> parameter
 specifies the startup parameters for the instance to be launched, it may
 be null.
 <p>
 The following steps are made:
 <ul>
 <li>Check for the appropriate permission.</li>
 <li>Check the locking state of the application. If locked then throw an
 <a href="../../../../org/osgi/service/application/ApplicationException.html" title="class in org.osgi.service.application"><code>ApplicationException</code></a> with the reason code
 <a href="../../../../org/osgi/service/application/ApplicationException.html#APPLICATION_LOCKED"><code>ApplicationException.APPLICATION_LOCKED</code></a>.</li>
 <li>Calls the <code>launchSpecific()</code> method to create and start an
 application instance.</li>
 <li>Returns the <code>ApplicationHandle</code> returned by the
 launchSpecific()</li>
 </ul>
 The caller has to have ApplicationAdminPermission(applicationPID,
 "launch") in order to be able to perform this operation.
 <p>
 The <code>Map</code> argument of the launch method contains startup arguments
 for the application. The keys used in the Map must be non-null, non-empty
 <code>String</code> objects. They can be standard or application specific.
 OSGi defines the <code>org.osgi.triggeringevent</code> key to be used to pass
 the triggering event to a scheduled application, however in the future it
 is possible that other well-known keys will be defined. To avoid unwanted
 clashes of keys, the following rules should be applied:
 <ul>
 <li>The keys starting with the dash (-) character are application
 specific, no well-known meaning should be associated with them.</li>
 <li>Well-known keys should follow the reverse domain name based naming.
 In particular, the keys standardized in OSGi should start with
 <code>org.osgi.</code>.</li>
 </ul>
 <p>
 The method is synchronous, it return only when the application instance
 was successfully started or the attempt to start it failed.
 <p>
 This method never returns <code>null</code>. If launching an application
 fails, the appropriate exception is thrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - Arguments for the newly launched application, may be
        null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the registered ApplicationHandle, which represents the newly
         launched application instance. Never returns <code>null</code>.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.SecurityException</code> - if the caller doesn't have "lifecycle"
         ApplicationAdminPermission for the application.</dd>
<dd><code><a href="../../../../org/osgi/service/application/ApplicationException.html" title="class in org.osgi.service.application">ApplicationException</a></code> - if starting the application failed</dd>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
<dd><code>java.lang.IllegalArgumentException</code> - if the specified <code>Map</code> contains
         invalid keys (null objects, empty <code>String</code> or a key that is
         not <code>String</code>)</dd>
</dl>
</li>
</ul>
<a name="launchSpecific-java.util.Map-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>launchSpecific</h4>
<pre>protected abstract&nbsp;<a href="../../../../org/osgi/service/application/ApplicationHandle.html" title="class in org.osgi.service.application">ApplicationHandle</a>&nbsp;launchSpecific(java.util.Map&nbsp;arguments)
                                             throws java.lang.Exception</pre>
<div class="block">Called by launch() to create and start a new instance in an application
 model specific way. It also creates and registeres the application handle
 to represent the newly created and started instance and registeres it.
 The method is synchronous, it return only when the application instance
 was successfully started or the attempt to start it failed.
 <p>
 This method must not return <code>null</code>. If launching the application
 failed, and exception must be thrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - the startup parameters of the new application instance,
        may be null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the registered application model specific application handle for
         the newly created and started instance.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
<dd><code>java.lang.Exception</code> - if any problem occurs.</dd>
</dl>
</li>
</ul>
<a name="isLaunchableSpecific--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLaunchableSpecific</h4>
<pre>protected abstract&nbsp;boolean&nbsp;isLaunchableSpecific()</pre>
<div class="block">This method is called by launch() to verify that according to the
 container, the application is launchable.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true, if the application is launchable according to the
         container, false otherwise.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
</dl>
</li>
</ul>
<a name="schedule-java.lang.String-java.util.Map-java.lang.String-java.lang.String-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>schedule</h4>
<pre>public final&nbsp;<a href="../../../../org/osgi/service/application/ScheduledApplication.html" title="interface in org.osgi.service.application">ScheduledApplication</a>&nbsp;schedule(java.lang.String&nbsp;scheduleId,
                                           java.util.Map&nbsp;arguments,
                                           java.lang.String&nbsp;topic,
                                           java.lang.String&nbsp;eventFilter,
                                           boolean&nbsp;recurring)
                                    throws org.osgi.framework.InvalidSyntaxException,
                                           <a href="../../../../org/osgi/service/application/ApplicationException.html" title="class in org.osgi.service.application">ApplicationException</a></pre>
<div class="block">Schedules the application at a specified event. Schedule information
 should not get lost even if the framework or the device restarts so it
 should be stored in a persistent storage. The method registers a
 <a href="../../../../org/osgi/service/application/ScheduledApplication.html" title="interface in org.osgi.service.application"><code>ScheduledApplication</code></a> service in Service Registry, representing
 the created schedule.
 <p>
 The <code>Map</code> argument of the method contains startup arguments for the
 application. The keys used in the Map must be non-null, non-empty
 <code>String</code> objects. The argument values must be of primitive types,
 wrapper classes of primitive types, <code>String</code> or arrays or
 collections of these.
 <p>
 The created schedules have a unique identifier within the scope of this
 <code>ApplicationDescriptor</code>. This identifier can be specified in the
 <code>scheduleId</code> argument. If this argument is <code>null</code>, the
 identifier is automatically generated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>scheduleId</code> - the identifier of the created schedule. It can be
        <code>null</code>, in this case the identifier is automatically
        generated.</dd>
<dd><code>arguments</code> - the startup arguments for the scheduled application, may
        be null</dd>
<dd><code>topic</code> - specifies the topic of the triggering event, it may contain
        a trailing asterisk as wildcard, the empty string is treated as
        "*", must not be null</dd>
<dd><code>eventFilter</code> - specifies and LDAP filter to filter on the properties
        of the triggering event, may be null</dd>
<dd><code>recurring</code> - if the recurring parameter is false then the application
        will be launched only once, when the event firstly occurs. If the
        parameter is true then scheduling will take place for every event
        occurrence; i.e. it is a recurring schedule</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the registered scheduled application service</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - if the topic is <code>null</code></dd>
<dd><code>org.osgi.framework.InvalidSyntaxException</code> - if the specified <code>eventFilter</code> is
         not syntactically correct</dd>
<dd><code><a href="../../../../org/osgi/service/application/ApplicationException.html" title="class in org.osgi.service.application">ApplicationException</a></code> - if the schedule couldn't be created. The
         possible error codes are
         <ul>
         <li>
         <a href="../../../../org/osgi/service/application/ApplicationException.html#APPLICATION_DUPLICATE_SCHEDULE_ID"><code>ApplicationException.APPLICATION_DUPLICATE_SCHEDULE_ID</code></a> if
         the specified <code>scheduleId</code> is already used for this
         <code>ApplicationDescriptor</code></li><li>
         <a href="../../../../org/osgi/service/application/ApplicationException.html#APPLICATION_SCHEDULING_FAILED"><code>ApplicationException.APPLICATION_SCHEDULING_FAILED</code></a> if the
         scheduling failed due to some internal reason (e.g. persistent
         storage error).</li> <li>
         <a href="../../../../org/osgi/service/application/ApplicationException.html#APPLICATION_INVALID_STARTUP_ARGUMENT"><code>ApplicationException.APPLICATION_INVALID_STARTUP_ARGUMENT</code></a>
         if the specified startup argument doesn't satisfy the type or
         value constraints of startup arguments.</li>
         </ul></dd>
<dd><code>java.lang.SecurityException</code> - if the caller doesn't have "schedule"
         ApplicationAdminPermission for the application.</dd>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
<dd><code>java.lang.IllegalArgumentException</code> - if the specified <code>Map</code> contains
         invalid keys (null objects, empty <code>String</code> or a key that is
         not <code>String</code>)</dd>
</dl>
</li>
</ul>
<a name="lock--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lock</h4>
<pre>public final&nbsp;void&nbsp;lock()</pre>
<div class="block">Sets the lock state of the application. If an application is locked then
 launching a new instance is not possible. It does not affect the already
 launched instances.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.SecurityException</code> - if the caller doesn't have "lock"
         ApplicationAdminPermission for the application.</dd>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
</dl>
</li>
</ul>
<a name="lockSpecific--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lockSpecific</h4>
<pre>protected abstract&nbsp;void&nbsp;lockSpecific()</pre>
<div class="block">This method is used to notify the container implementation that the
 corresponding application has been locked and it should update the
 <code>application.locked</code> service property accordingly.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
</dl>
</li>
</ul>
<a name="unlock--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unlock</h4>
<pre>public final&nbsp;void&nbsp;unlock()</pre>
<div class="block">Unsets the lock state of the application.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.SecurityException</code> - if the caller doesn't have "lock"
         ApplicationAdminPermission for the application.</dd>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
</dl>
</li>
</ul>
<a name="unlockSpecific--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>unlockSpecific</h4>
<pre>protected abstract&nbsp;void&nbsp;unlockSpecific()</pre>
<div class="block">This method is used to notify the container implementation that the
 corresponding application has been unlocked and it should update the
 <code>application.locked</code> service property accordingly.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if the application descriptor is
         unregistered</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/osgi/service/application/ApplicationAdminPermission.html" title="class in org.osgi.service.application"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/osgi/service/application/ApplicationException.html" title="class in org.osgi.service.application"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/osgi/service/application/ApplicationDescriptor.html" target="_top">Frames</a></li>
<li><a href="ApplicationDescriptor.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>