/usr/share/doc/libosgi-core-java/api/org/osgi/framework/launch/Framework.html is in libosgi-core-java-doc 4.3.0-1.
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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_23) on Sun Nov 20 13:35:17 UTC 2011 -->
<TITLE>
Framework
</TITLE>
<META NAME="date" CONTENT="2011-11-20">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Framework";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/osgi/framework/launch/FrameworkFactory.html" title="interface in org.osgi.framework.launch"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/osgi/framework/launch/Framework.html" target="_top"><B>FRAMES</B></A>
<A HREF="Framework.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.osgi.framework.launch</FONT>
<BR>
Interface Framework</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A>, java.lang.Comparable<<A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A>></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>Framework</B><DT>extends <A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></DL>
</PRE>
<P>
A Framework instance. A Framework is also known as a System Bundle.
<p>
Framework instances are created using a <A HREF="../../../../org/osgi/framework/launch/FrameworkFactory.html" title="interface in org.osgi.framework.launch"><CODE>FrameworkFactory</CODE></A>. The methods
of this interface can be used to manage and control the created framework
instance.
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_org.osgi.framework.Bundle"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from interface org.osgi.framework.<A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#ACTIVE">ACTIVE</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#INSTALLED">INSTALLED</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#RESOLVED">RESOLVED</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#SIGNERS_ALL">SIGNERS_ALL</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#SIGNERS_TRUSTED">SIGNERS_TRUSTED</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#START_ACTIVATION_POLICY">START_ACTIVATION_POLICY</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#START_TRANSIENT">START_TRANSIENT</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#STARTING">STARTING</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#STOP_TRANSIENT">STOP_TRANSIENT</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#STOPPING">STOPPING</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#UNINSTALLED">UNINSTALLED</A></CODE></TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE><A> A</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#adapt(java.lang.Class)">adapt</A></B>(java.lang.Class<A> type)</CODE>
<BR>
Adapt this Framework to the specified type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Enumeration<java.net.URL></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#findEntries(java.lang.String, java.lang.String, boolean)">findEntries</A></B>(java.lang.String path,
java.lang.String filePattern,
boolean recurse)</CODE>
<BR>
Returns <code>null</code> as a framework implementation does not have a proper
bundle from which to return entries.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#getBundleId()">getBundleId</A></B>()</CODE>
<BR>
Returns the Framework unique identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.net.URL</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#getEntry(java.lang.String)">getEntry</A></B>(java.lang.String path)</CODE>
<BR>
Returns <code>null</code> as a framework implementation does not have a
proper bundle from which to return an entry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Enumeration<java.lang.String></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#getEntryPaths(java.lang.String)">getEntryPaths</A></B>(java.lang.String path)</CODE>
<BR>
Returns <code>null</code> as a framework implementation does not have a
proper bundle from which to return entry paths.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#getLocation()">getLocation</A></B>()</CODE>
<BR>
Returns the Framework location identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#getSymbolicName()">getSymbolicName</A></B>()</CODE>
<BR>
Returns the symbolic name of this Framework.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#init()">init</A></B>()</CODE>
<BR>
Initialize this Framework.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#start()">start</A></B>()</CODE>
<BR>
Start this Framework.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#start(int)">start</A></B>(int options)</CODE>
<BR>
Start this Framework.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#stop()">stop</A></B>()</CODE>
<BR>
Stop this Framework.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#stop(int)">stop</A></B>(int options)</CODE>
<BR>
Stop this Framework.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#uninstall()">uninstall</A></B>()</CODE>
<BR>
The Framework cannot be uninstalled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#update()">update</A></B>()</CODE>
<BR>
Stop and restart this Framework.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#update(java.io.InputStream)">update</A></B>(java.io.InputStream in)</CODE>
<BR>
Stop and restart this Framework.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/osgi/framework/FrameworkEvent.html" title="class in org.osgi.framework">FrameworkEvent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/osgi/framework/launch/Framework.html#waitForStop(long)">waitForStop</A></B>(long timeout)</CODE>
<BR>
Wait until this Framework has completely stopped.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.osgi.framework.Bundle"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.osgi.framework.<A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#getBundleContext()">getBundleContext</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getDataFile(java.lang.String)">getDataFile</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getHeaders()">getHeaders</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getHeaders(java.lang.String)">getHeaders</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getLastModified()">getLastModified</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getRegisteredServices()">getRegisteredServices</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getResource(java.lang.String)">getResource</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getResources(java.lang.String)">getResources</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getServicesInUse()">getServicesInUse</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getSignerCertificates(int)">getSignerCertificates</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getState()">getState</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#getVersion()">getVersion</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#hasPermission(java.lang.Object)">hasPermission</A>, <A HREF="../../../../org/osgi/framework/Bundle.html#loadClass(java.lang.String)">loadClass</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Comparable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface java.lang.Comparable</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>compareTo</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="init()"><!-- --></A><H3>
init</H3>
<PRE>
void <B>init</B>()
throws <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></PRE>
<DL>
<DD>Initialize this Framework. After calling this method, this Framework
must:
<ul>
<li>Have generated a new <A HREF="../../../../org/osgi/framework/Constants.html#FRAMEWORK_UUID"><CODE>framework UUID</CODE></A>.
</li>
<li>Be in the <A HREF="../../../../org/osgi/framework/Bundle.html#STARTING"><CODE>Bundle.STARTING</CODE></A> state.</li>
<li>Have a valid Bundle Context.</li>
<li>Be at start level 0.</li>
<li>Have event handling enabled.</li>
<li>Have reified Bundle objects for all installed bundles.</li>
<li>Have registered any framework services. For example,
<code>ConditionalPermissionAdmin</code>.</li>
<li>Be <A HREF="../../../../org/osgi/framework/launch/Framework.html#adapt(java.lang.Class)"><CODE>adaptable</CODE></A> to the OSGi defined types to which
a system bundle can be adapted.</li>
</ul>
<p>
This Framework will not actually be started until <A HREF="../../../../org/osgi/framework/launch/Framework.html#start()"><CODE>start</CODE></A>
is called.
<p>
This method does nothing if called when this Framework is in the
<A HREF="../../../../org/osgi/framework/Bundle.html#STARTING"><CODE>Bundle.STARTING</CODE></A>, <A HREF="../../../../org/osgi/framework/Bundle.html#ACTIVE"><CODE>Bundle.ACTIVE</CODE></A> or <A HREF="../../../../org/osgi/framework/Bundle.html#STOPPING"><CODE>Bundle.STOPPING</CODE></A> states.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></CODE> - If this Framework could not be initialized.
<DD><CODE>java.lang.SecurityException</CODE> - If the Java Runtime Environment supports
permissions and the caller does not have the appropriate
<code>AdminPermission[this,EXECUTE]</code> or if there is a security
manager already installed and the
<A HREF="../../../../org/osgi/framework/Constants.html#FRAMEWORK_SECURITY"><CODE>Constants.FRAMEWORK_SECURITY</CODE></A> configuration property is
set.</DL>
</DD>
</DL>
<HR>
<A NAME="waitForStop(long)"><!-- --></A><H3>
waitForStop</H3>
<PRE>
<A HREF="../../../../org/osgi/framework/FrameworkEvent.html" title="class in org.osgi.framework">FrameworkEvent</A> <B>waitForStop</B>(long timeout)
throws java.lang.InterruptedException</PRE>
<DL>
<DD>Wait until this Framework has completely stopped. The <code>stop</code>
and <code>update</code> methods on a Framework performs an asynchronous
stop of the Framework. This method can be used to wait until the
asynchronous stop of this Framework has completed. This method will only
wait if called when this Framework is in the <A HREF="../../../../org/osgi/framework/Bundle.html#STARTING"><CODE>Bundle.STARTING</CODE></A>,
<A HREF="../../../../org/osgi/framework/Bundle.html#ACTIVE"><CODE>Bundle.ACTIVE</CODE></A>, or <A HREF="../../../../org/osgi/framework/Bundle.html#STOPPING"><CODE>Bundle.STOPPING</CODE></A> states. Otherwise it will return
immediately.
<p>
A Framework Event is returned to indicate why this Framework has stopped.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>timeout</CODE> - Maximum number of milliseconds to wait until this
Framework has completely stopped. A value of zero will wait
indefinitely.
<DT><B>Returns:</B><DD>A Framework Event indicating the reason this method returned. The
following <code>FrameworkEvent</code> types may be returned by
this method.
<ul>
<li><A HREF="../../../../org/osgi/framework/FrameworkEvent.html#STOPPED"><CODE>STOPPED</CODE></A> - This Framework has
been stopped. </li>
<li><A HREF="../../../../org/osgi/framework/FrameworkEvent.html#STOPPED_UPDATE"><CODE>STOPPED_UPDATE</CODE></A> - This
Framework has been updated which has shutdown and will now
restart.</li>
<li> <A HREF="../../../../org/osgi/framework/FrameworkEvent.html#STOPPED_BOOTCLASSPATH_MODIFIED"><CODE>STOPPED_BOOTCLASSPATH_MODIFIED</CODE></A> - This Framework has been stopped
and a bootclasspath extension bundle has been installed or
updated. The VM must be restarted in order for the changed boot
class path to take effect. </li>
<li><A HREF="../../../../org/osgi/framework/FrameworkEvent.html#ERROR"><CODE>ERROR</CODE></A> - The Framework
encountered an error while shutting down or an error has occurred
which forced the framework to shutdown. </li>
<li> <A HREF="../../../../org/osgi/framework/FrameworkEvent.html#WAIT_TIMEDOUT"><CODE>WAIT_TIMEDOUT</CODE></A> - This
method has timed out and returned before this Framework has
stopped.</li>
</ul>
<DT><B>Throws:</B>
<DD><CODE>java.lang.InterruptedException</CODE> - If another thread interrupted the current
thread before or while the current thread was waiting for this
Framework to completely stop. The <i>interrupted status</i> of
the current thread is cleared when this exception is thrown.
<DD><CODE>java.lang.IllegalArgumentException</CODE> - If the value of timeout is negative.</DL>
</DD>
</DL>
<HR>
<A NAME="start()"><!-- --></A><H3>
start</H3>
<PRE>
void <B>start</B>()
throws <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></PRE>
<DL>
<DD>Start this Framework.
<p>
The following steps are taken to start this Framework:
<ol>
<li>If this Framework is not in the <A HREF="../../../../org/osgi/framework/Bundle.html#STARTING"><CODE>Bundle.STARTING</CODE></A> state,
<A HREF="../../../../org/osgi/framework/launch/Framework.html#init()"><CODE>initialize</CODE></A> this Framework.</li>
<li>All installed bundles must be started in accordance with each
bundle's persistent <i>autostart setting</i>. This means some bundles
will not be started, some will be started with <i>eager activation</i>
and some will be started with their <i>declared activation</i> policy.
The start level of this Framework is moved to the start level specified
by the <A HREF="../../../../org/osgi/framework/Constants.html#FRAMEWORK_BEGINNING_STARTLEVEL"><CODE>beginning start
level</CODE></A> framework property, as described in the <i>Start Level
Specification</i>. If this framework property is not specified, then the
start level of this Framework is moved to start level one (1). Any
exceptions that occur during bundle starting must be wrapped in a
<A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework"><CODE>BundleException</CODE></A> and then published as a framework event of type
<A HREF="../../../../org/osgi/framework/FrameworkEvent.html#ERROR"><CODE>FrameworkEvent.ERROR</CODE></A></li>
<li>This Framework's state is set to <A HREF="../../../../org/osgi/framework/Bundle.html#ACTIVE"><CODE>Bundle.ACTIVE</CODE></A>.</li>
<li>A framework event of type <A HREF="../../../../org/osgi/framework/FrameworkEvent.html#STARTED"><CODE>FrameworkEvent.STARTED</CODE></A> is fired</li>
</ol>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#start()">start</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></CODE> - If this Framework could not be started.
<DD><CODE>java.lang.SecurityException</CODE> - If the caller does not have the appropriate
<code>AdminPermission[this,EXECUTE]</code>, and the Java Runtime
Environment supports permissions.<DT><B>See Also:</B><DD>"Start Level Specification"</DL>
</DD>
</DL>
<HR>
<A NAME="start(int)"><!-- --></A><H3>
start</H3>
<PRE>
void <B>start</B>(int options)
throws <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></PRE>
<DL>
<DD>Start this Framework.
<p>
Calling this method is the same as calling <A HREF="../../../../org/osgi/framework/launch/Framework.html#start()"><CODE>start()</CODE></A>. There are no
start options for the Framework.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#start(int)">start</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>options</CODE> - Ignored. There are no start options for the Framework.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></CODE> - If this Framework could not be started.
<DD><CODE>java.lang.SecurityException</CODE> - If the caller does not have the appropriate
<code>AdminPermission[this,EXECUTE]</code>, and the Java Runtime
Environment supports permissions.<DT><B>See Also:</B><DD><A HREF="../../../../org/osgi/framework/launch/Framework.html#start()"><CODE>start()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="stop()"><!-- --></A><H3>
stop</H3>
<PRE>
void <B>stop</B>()
throws <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></PRE>
<DL>
<DD>Stop this Framework.
<p>
The method returns immediately to the caller after initiating the
following steps to be taken on another thread.
<ol>
<li>This Framework's state is set to <A HREF="../../../../org/osgi/framework/Bundle.html#STOPPING"><CODE>Bundle.STOPPING</CODE></A>.</li>
<li>All installed bundles must be stopped without changing each bundle's
persistent <i>autostart setting</i>. The start level of this Framework is
moved to start level zero (0), as described in the <i>Start Level
Specification</i>. Any exceptions that occur during bundle stopping must
be wrapped in a <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework"><CODE>BundleException</CODE></A> and then published as a framework
event of type <A HREF="../../../../org/osgi/framework/FrameworkEvent.html#ERROR"><CODE>FrameworkEvent.ERROR</CODE></A></li>
<li>Unregister all services registered by this Framework.</li>
<li>Event handling is disabled.</li>
<li>This Framework's state is set to <A HREF="../../../../org/osgi/framework/Bundle.html#RESOLVED"><CODE>Bundle.RESOLVED</CODE></A>.</li>
<li>All resources held by this Framework are released. This includes
threads, bundle class loaders, open files, etc.</li>
<li>Notify all threads that are waiting at <A HREF="../../../../org/osgi/framework/launch/Framework.html#waitForStop(long)"><CODE>waitForStop</CODE></A> that the stop operation has completed.</li>
</ol>
<p>
After being stopped, this Framework may be discarded, initialized or
started.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#stop()">stop</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></CODE> - If stopping this Framework could not be
initiated.
<DD><CODE>java.lang.SecurityException</CODE> - If the caller does not have the appropriate
<code>AdminPermission[this,EXECUTE]</code>, and the Java Runtime
Environment supports permissions.<DT><B>See Also:</B><DD>"Start Level Specification"</DL>
</DD>
</DL>
<HR>
<A NAME="stop(int)"><!-- --></A><H3>
stop</H3>
<PRE>
void <B>stop</B>(int options)
throws <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></PRE>
<DL>
<DD>Stop this Framework.
<p>
Calling this method is the same as calling <A HREF="../../../../org/osgi/framework/launch/Framework.html#stop()"><CODE>stop()</CODE></A>. There are no
stop options for the Framework.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#stop(int)">stop</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>options</CODE> - Ignored. There are no stop options for the Framework.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></CODE> - If stopping this Framework could not be
initiated.
<DD><CODE>java.lang.SecurityException</CODE> - If the caller does not have the appropriate
<code>AdminPermission[this,EXECUTE]</code>, and the Java Runtime
Environment supports permissions.<DT><B>See Also:</B><DD><A HREF="../../../../org/osgi/framework/launch/Framework.html#stop()"><CODE>stop()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="uninstall()"><!-- --></A><H3>
uninstall</H3>
<PRE>
void <B>uninstall</B>()
throws <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></PRE>
<DL>
<DD>The Framework cannot be uninstalled.
<p>
This method always throws a BundleException.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#uninstall()">uninstall</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></CODE> - This Framework cannot be uninstalled.
<DD><CODE>java.lang.SecurityException</CODE> - If the caller does not have the appropriate
<code>AdminPermission[this,LIFECYCLE]</code>, and the Java
Runtime Environment supports permissions.<DT><B>See Also:</B><DD><A HREF="../../../../org/osgi/framework/Bundle.html#stop()"><CODE>Bundle.stop()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="update()"><!-- --></A><H3>
update</H3>
<PRE>
void <B>update</B>()
throws <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></PRE>
<DL>
<DD>Stop and restart this Framework.
<p>
The method returns immediately to the caller after initiating the
following steps to be taken on another thread.
<ol>
<li>Perform the steps in the <A HREF="../../../../org/osgi/framework/launch/Framework.html#stop()"><CODE>stop()</CODE></A> method to stop this
Framework.</li>
<li>Perform the steps in the <A HREF="../../../../org/osgi/framework/launch/Framework.html#start()"><CODE>start()</CODE></A> method to start this
Framework.</li>
</ol>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#update()">update</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></CODE> - If stopping and restarting this Framework could
not be initiated.
<DD><CODE>java.lang.SecurityException</CODE> - If the caller does not have the appropriate
<code>AdminPermission[this,LIFECYCLE]</code>, and the Java
Runtime Environment supports permissions.<DT><B>See Also:</B><DD><A HREF="../../../../org/osgi/framework/Bundle.html#update(java.io.InputStream)"><CODE>Bundle.update(InputStream)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="update(java.io.InputStream)"><!-- --></A><H3>
update</H3>
<PRE>
void <B>update</B>(java.io.InputStream in)
throws <A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></PRE>
<DL>
<DD>Stop and restart this Framework.
<p>
Calling this method is the same as calling <A HREF="../../../../org/osgi/framework/launch/Framework.html#update()"><CODE>update()</CODE></A> except that
any provided InputStream is immediately closed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#update(java.io.InputStream)">update</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - Any provided InputStream is immediately closed before returning
from this method and otherwise ignored.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/osgi/framework/BundleException.html" title="class in org.osgi.framework">BundleException</A></CODE> - If stopping and restarting this Framework could
not be initiated.
<DD><CODE>java.lang.SecurityException</CODE> - If the caller does not have the appropriate
<code>AdminPermission[this,LIFECYCLE]</code>, and the Java
Runtime Environment supports permissions.<DT><B>See Also:</B><DD><A HREF="../../../../org/osgi/framework/Bundle.html#stop()"><CODE>Bundle.stop()</CODE></A>,
<A HREF="../../../../org/osgi/framework/Bundle.html#start()"><CODE>Bundle.start()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getBundleId()"><!-- --></A><H3>
getBundleId</H3>
<PRE>
long <B>getBundleId</B>()</PRE>
<DL>
<DD>Returns the Framework unique identifier. This Framework is assigned the
unique identifier zero (0) since this Framework is also a System Bundle.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#getBundleId()">getBundleId</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>0.<DT><B>See Also:</B><DD><A HREF="../../../../org/osgi/framework/Bundle.html#getBundleId()"><CODE>Bundle.getBundleId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLocation()"><!-- --></A><H3>
getLocation</H3>
<PRE>
java.lang.String <B>getLocation</B>()</PRE>
<DL>
<DD>Returns the Framework location identifier. This Framework is assigned the
unique location "<code>System Bundle</code>" since this
Framework is also a System Bundle.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#getLocation()">getLocation</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The string "<code>System Bundle</code>".
<DT><B>Throws:</B>
<DD><CODE>java.lang.SecurityException</CODE> - If the caller does not have the appropriate
<code>AdminPermission[this,METADATA]</code>, and the Java Runtime
Environment supports permissions.<DT><B>See Also:</B><DD><A HREF="../../../../org/osgi/framework/Bundle.html#getLocation()"><CODE>Bundle.getLocation()</CODE></A>,
<A HREF="../../../../org/osgi/framework/Constants.html#SYSTEM_BUNDLE_LOCATION"><CODE>Constants.SYSTEM_BUNDLE_LOCATION</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getSymbolicName()"><!-- --></A><H3>
getSymbolicName</H3>
<PRE>
java.lang.String <B>getSymbolicName</B>()</PRE>
<DL>
<DD>Returns the symbolic name of this Framework. The symbolic name is unique
for the implementation of the framework. However, the symbolic name
"<code>system.bundle</code>" must be recognized as an alias to
the implementation-defined symbolic name since this Framework is also a
System Bundle.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#getSymbolicName()">getSymbolicName</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The symbolic name of this Framework.<DT><B>See Also:</B><DD><A HREF="../../../../org/osgi/framework/Bundle.html#getSymbolicName()"><CODE>Bundle.getSymbolicName()</CODE></A>,
<A HREF="../../../../org/osgi/framework/Constants.html#SYSTEM_BUNDLE_SYMBOLICNAME"><CODE>Constants.SYSTEM_BUNDLE_SYMBOLICNAME</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getEntryPaths(java.lang.String)"><!-- --></A><H3>
getEntryPaths</H3>
<PRE>
java.util.Enumeration<java.lang.String> <B>getEntryPaths</B>(java.lang.String path)</PRE>
<DL>
<DD>Returns <code>null</code> as a framework implementation does not have a
proper bundle from which to return entry paths.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#getEntryPaths(java.lang.String)">getEntryPaths</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - Ignored.
<DT><B>Returns:</B><DD><code>null</code> as a framework implementation does not have a
proper bundle from which to return entry paths.</DL>
</DD>
</DL>
<HR>
<A NAME="getEntry(java.lang.String)"><!-- --></A><H3>
getEntry</H3>
<PRE>
java.net.URL <B>getEntry</B>(java.lang.String path)</PRE>
<DL>
<DD>Returns <code>null</code> as a framework implementation does not have a
proper bundle from which to return an entry.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#getEntry(java.lang.String)">getEntry</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - Ignored.
<DT><B>Returns:</B><DD><code>null</code> as a framework implementation does not have a
proper bundle from which to return an entry.</DL>
</DD>
</DL>
<HR>
<A NAME="findEntries(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
findEntries</H3>
<PRE>
java.util.Enumeration<java.net.URL> <B>findEntries</B>(java.lang.String path,
java.lang.String filePattern,
boolean recurse)</PRE>
<DL>
<DD>Returns <code>null</code> as a framework implementation does not have a proper
bundle from which to return entries.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#findEntries(java.lang.String, java.lang.String, boolean)">findEntries</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - Ignored.<DD><CODE>filePattern</CODE> - Ignored.<DD><CODE>recurse</CODE> - Ignored.
<DT><B>Returns:</B><DD><code>null</code> as a framework implementation does not have a proper
bundle from which to return entries.</DL>
</DD>
</DL>
<HR>
<A NAME="adapt(java.lang.Class)"><!-- --></A><H3>
adapt</H3>
<PRE>
<A> A <B>adapt</B>(java.lang.Class<A> type)</PRE>
<DL>
<DD>Adapt this Framework to the specified type.
<p>
Adapting this Framework to the specified type may require certain checks,
including security checks, to succeed. If a check does not succeed, then
this Framework cannot be adapted and <code>null</code> is returned. If this
Framework is not <A HREF="../../../../org/osgi/framework/launch/Framework.html#init()"><CODE>initialized</CODE></A>, then <code>null</code> is
returned if the specified type is one of the OSGi defined types to which
a system bundle can be adapted.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/osgi/framework/Bundle.html#adapt(java.lang.Class)">adapt</A></CODE> in interface <CODE><A HREF="../../../../org/osgi/framework/Bundle.html" title="interface in org.osgi.framework">Bundle</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Type Parameters:</B><DD><CODE>A</CODE> - The type to which this Framework is to be adapted.<DT><B>Parameters:</B><DD><CODE>type</CODE> - Class object for the type to which this Framework is to be
adapted.
<DT><B>Returns:</B><DD>The object, of the specified type, to which this Framework has
been adapted or <code>null</code> if this Framework cannot be adapted</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/osgi/framework/launch/FrameworkFactory.html" title="interface in org.osgi.framework.launch"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/osgi/framework/launch/Framework.html" target="_top"><B>FRAMES</B></A>
<A HREF="Framework.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
|