📄 resourceinstancedata.html
字号:
<A NAME="getKeyValue(java.lang.String)"><!-- --></A><H3>
getKeyValue</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getKeyValue</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> keyName)</PRE>
<DL>
<DD>Computes the value of the key whose name is given using the data. Implementations should implements this method if there are any keys. The result should either be null or a value whose class is the class type of a simple type, namely, String, Integer, Long, Double, Float, Boolean, Short, Character, or Byte
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>keyName</CODE> - name of the key.
<DT><B>Returns:</B><DD>value for the named key</DL>
</DD>
</DL>
<HR>
<A NAME="getExternalReferences()"><!-- --></A><H3>
getExternalReferences</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>> <B>getExternalReferences</B>()</PRE>
<DL>
<DD>Returns a set of Ref object representing the external references found in the given data. This method must be implemented so that any external references are returned.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a set of Ref object representing the external references found in the given data</DL>
</DD>
</DL>
<HR>
<A NAME="getEnvValues()"><!-- --></A><H3>
getEnvValues</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><<A HREF="../../../../../com/bea/wli/config/env/NonQualifiedEnvValue.html" title="class in com.bea.wli.config.env">NonQualifiedEnvValue</A>> <B>getEnvValues</B>()</PRE>
<DL>
<DD>Resource providers return any environment dependent values via this call. Environment dependent values are those that may need to be changed when moving configuration from one domain to another.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a collection of environment values, or null if there are none</DL>
</DD>
</DL>
<HR>
<A NAME="setEnvValues(java.util.Collection)"><!-- --></A><H3>
setEnvValues</H3>
<PRE>
<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceInstanceData.html" title="interface in com.bea.alsb.resources.custom">ResourceInstanceData</A> <B>setEnvValues</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><<A HREF="../../../../../com/bea/wli/config/env/NonQualifiedEnvValue.html" title="class in com.bea.wli.config.env">NonQualifiedEnvValue</A>> envValues)</PRE>
<DL>
<DD>Sets the given collection of environment values in the data. The collection of envValues may be only a subset of all existing environment specific values in the data. The implementations can update the data in-place and return it, rather than returning a copy of the data.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>envValues</CODE> - collection of environment values to set
<DT><B>Returns:</B><DD>a copy of the data</DL>
</DD>
</DL>
<HR>
<A NAME="validate(com.bea.wli.config.resource.Diagnostics)"><!-- --></A><H3>
validate</H3>
<PRE>
void <B>validate</B>(<A HREF="../../../../../com/bea/wli/config/resource/Diagnostics.html" title="class in com.bea.wli.config.resource">Diagnostics</A> diags)</PRE>
<DL>
<DD>Validates the data and throws exception on validation error
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>diags</CODE> - the Diagnostics object to carry the validation errors</DL>
</DD>
</DL>
<HR>
<A NAME="setExternalReferences(java.util.Map)"><!-- --></A><H3>
setExternalReferences</H3>
<PRE>
<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceInstanceData.html" title="interface in com.bea.alsb.resources.custom">ResourceInstanceData</A> <B>setExternalReferences</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>,<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>> mapping)
throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>Updates references in the data according to the given map and returns the result. The implementations of this method can either work on the copy of the data that is passed in as the argument and return it as the result, or create a fresh copy of the input and return it.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mapping</CODE> - mapping from old references to the new ones
<DT><B>Returns:</B><DD>the changed data
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - on error</DL>
</DD>
</DL>
<HR>
<A NAME="clone()"><!-- --></A><H3>
clone</H3>
<PRE>
<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceInstanceData.html" title="interface in com.bea.alsb.resources.custom">ResourceInstanceData</A> <B>clone</B>()</PRE>
<DL>
<DD>Called to create a copy of this object.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>ResourceInstanceData an object representing a copy of this object.</DL>
</DD>
</DL>
<HR>
<A NAME="serialize()"><!-- --></A><H3>
serialize</H3>
<PRE>
byte[] <B>serialize</B>()</PRE>
<DL>
<DD>Serialize this object to a byte array.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a byte array</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/CustomResourceException.html" title="class in com.bea.alsb.resources.custom"><B>PREV CLASS</B></A>
<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceManager.html" title="interface 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/ResourceInstanceData.html" target="_top"><B>FRAMES</B></A>
<A HREF="ResourceInstanceData.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -