resourcemanager.html
来自「一个实用的java源程序」· HTML 代码 · 共 315 行 · 第 1/2 页
HTML
315 行
<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="registerProvider(com.bea.alsb.resources.custom.ResourceProvider)"><!-- --></A><H3>
registerProvider</H3>
<PRE>
void <B>registerProvider</B>(<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceProvider.html" title="interface in com.bea.alsb.resources.custom">ResourceProvider</A> p)
throws <A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></PRE>
<DL>
<DD>Registers a new provider with optional lifecycle listener
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - the ResourceProvider to be registered
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></CODE> - on error</DL>
</DD>
</DL>
<HR>
<A NAME="registerLifecycleListener(com.bea.alsb.resources.custom.ResourceProviderListener, java.lang.String)"><!-- --></A><H3>
registerLifecycleListener</H3>
<PRE>
void <B>registerLifecycleListener</B>(<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceProviderListener.html" title="interface in com.bea.alsb.resources.custom">ResourceProviderListener</A> l,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeId)
throws <A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></PRE>
<DL>
<DD>Add a lifecycle listener to the resource identified by typeId
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the resource lifecycle listener for the given typeId<DD><CODE>typeId</CODE> - the typeId of the resource to register a listener for
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></CODE> - on error</DL>
</DD>
</DL>
<HR>
<A NAME="registerLoadListener(com.bea.alsb.resources.custom.ResourceProviderLoadListener, java.lang.String)"><!-- --></A><H3>
registerLoadListener</H3>
<PRE>
void <B>registerLoadListener</B>(<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceProviderLoadListener.html" title="interface in com.bea.alsb.resources.custom">ResourceProviderLoadListener</A> l,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeId)
throws <A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></PRE>
<DL>
<DD>Add a load listener to the resource identified by typeId
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the resource load listener for the given typeId<DD><CODE>typeId</CODE> - the typeId of the resource to register a listener for
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></CODE> - on error</DL>
</DD>
</DL>
<HR>
<A NAME="getRid(com.bea.wli.config.Ref)"><!-- --></A><H3>
getRid</H3>
<PRE>
<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceInstanceData.html" title="interface in com.bea.alsb.resources.custom">ResourceInstanceData</A> <B>getRid</B>(<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> ref)
throws <A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></PRE>
<DL>
<DD>Method used to retrieve the ResourceInstanceData object for a given Ref
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ref</CODE> - the Ref to retrieve the ResourceInstanceData
<DT><B>Returns:</B><DD>the ResourceInstanceData for the ref
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></CODE> - on error</DL>
</DD>
</DL>
<HR>
<A NAME="serialize(com.bea.alsb.resources.custom.ResourceInstanceData)"><!-- --></A><H3>
serialize</H3>
<PRE>
byte[] <B>serialize</B>(<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceInstanceData.html" title="interface in com.bea.alsb.resources.custom">ResourceInstanceData</A> rid)
throws <A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></PRE>
<DL>
<DD>To serialize ResourceInstanceData to binary representation. This is used to solve a classloader issue. Implementation should in turn call ResourceInstanceData's serialize method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rid</CODE> - the ResourceInstanceData object
<DT><B>Returns:</B><DD>the binary representation
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A></CODE> - on error</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">
<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceInstanceData.html" title="interface in com.bea.alsb.resources.custom"><B>PREV CLASS</B></A>
<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceManagerHelper.html" title="class in com.bea.alsb.resources.custom"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?com/bea/alsb/resources/custom/ResourceManager.html" target="_top"><B>FRAMES</B></A>
<A HREF="ResourceManager.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>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?