| <!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_65) on Tue Feb 25 18:15:47 EST 2014 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| IniFactorySupport (Apache Shiro 1.2.3 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2014-02-25"> |
| |
| <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="IniFactorySupport (Apache Shiro 1.2.3 API)"; |
| } |
| } |
| </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="class-use/IniFactorySupport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../../org/apache/shiro/config/Ini.Section.html" title="class in org.apache.shiro.config"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/shiro/config/IniSecurityManagerFactory.html" title="class in org.apache.shiro.config"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/shiro/config/IniFactorySupport.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="IniFactorySupport.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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.apache.shiro.config</FONT> |
| <BR> |
| Class IniFactorySupport<T></H2> |
| <PRE> |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/shiro/util/AbstractFactory.html" title="class in org.apache.shiro.util">org.apache.shiro.util.AbstractFactory</A><T> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.shiro.config.IniFactorySupport<T></B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/shiro/util/Factory.html" title="interface in org.apache.shiro.util">Factory</A><T></DD> |
| </DL> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/shiro/web/config/IniFilterChainResolverFactory.html" title="class in org.apache.shiro.web.config">IniFilterChainResolverFactory</A>, <A HREF="../../../../org/apache/shiro/config/IniSecurityManagerFactory.html" title="class in org.apache.shiro.config">IniSecurityManagerFactory</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public abstract class <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.34"><B>IniFactorySupport<T></B></A><DT>extends <A HREF="../../../../org/apache/shiro/util/AbstractFactory.html" title="class in org.apache.shiro.util">AbstractFactory</A><T></DL> |
| </PRE> |
| |
| <P> |
| Base support class for <A HREF="../../../../org/apache/shiro/util/Factory.html" title="interface in org.apache.shiro.util"><CODE>Factory</CODE></A> implementations that generate their instance(s) based on |
| <A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config"><CODE>Ini</CODE></A> configuration. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.0</DD> |
| </DL> |
| <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> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#DEFAULT_INI_RESOURCE_PATH">DEFAULT_INI_RESOURCE_PATH</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_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>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#IniFactorySupport()">IniFactorySupport</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#IniFactorySupport(org.apache.shiro.config.Ini)">IniFactorySupport</A></B>(<A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> ini)</CODE> |
| |
| <BR> |
| </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>protected abstract <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html" title="type parameter in IniFactorySupport">T</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#createDefaultInstance()">createDefaultInstance</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html" title="type parameter in IniFactorySupport">T</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#createInstance()">createInstance</A></B>()</CODE> |
| |
| <BR> |
| Creates a new object instance by using a configured INI source.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html" title="type parameter in IniFactorySupport">T</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#createInstance(org.apache.shiro.config.Ini)">createInstance</A></B>(<A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> ini)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#getIni()">getIni</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#loadDefaultClassPathIni()">loadDefaultClassPathIni</A></B>()</CODE> |
| |
| <BR> |
| Returns a new Ini instance created from the default <code>classpath:shiro.ini</code> file, or <code>null</code> if |
| the file does not exist.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#resolveIni()">resolveIni</A></B>()</CODE> |
| |
| <BR> |
| Tries to resolve the Ini instance to use for configuration.</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/apache/shiro/config/IniFactorySupport.html#setIni(org.apache.shiro.config.Ini)">setIni</A></B>(<A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> ini)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.shiro.util.AbstractFactory"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.apache.shiro.util.<A HREF="../../../../org/apache/shiro/util/AbstractFactory.html" title="class in org.apache.shiro.util">AbstractFactory</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/shiro/util/AbstractFactory.html#getInstance()">getInstance</A>, <A HREF="../../../../org/apache/shiro/util/AbstractFactory.html#isSingleton()">isSingleton</A>, <A HREF="../../../../org/apache/shiro/util/AbstractFactory.html#setSingleton(boolean)">setSingleton</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_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>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="DEFAULT_INI_RESOURCE_PATH"><!-- --></A><H3> |
| DEFAULT_INI_RESOURCE_PATH</H3> |
| <PRE> |
| public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.36"><B>DEFAULT_INI_RESOURCE_PATH</B></A></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.shiro.config.IniFactorySupport.DEFAULT_INI_RESOURCE_PATH">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_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>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="IniFactorySupport()"><!-- --></A><H3> |
| IniFactorySupport</H3> |
| <PRE> |
| protected <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.42"><B>IniFactorySupport</B></A>()</PRE> |
| <DL> |
| </DL> |
| <HR> |
| |
| <A NAME="IniFactorySupport(org.apache.shiro.config.Ini)"><!-- --></A><H3> |
| IniFactorySupport</H3> |
| <PRE> |
| protected <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.45"><B>IniFactorySupport</B></A>(<A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> ini)</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ 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="getIni()"><!-- --></A><H3> |
| getIni</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.49"><B>getIni</B></A>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setIni(org.apache.shiro.config.Ini)"><!-- --></A><H3> |
| setIni</H3> |
| <PRE> |
| public void <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.53"><B>setIni</B></A>(<A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> ini)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="loadDefaultClassPathIni()"><!-- --></A><H3> |
| loadDefaultClassPathIni</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.64"><B>loadDefaultClassPathIni</B></A>()</PRE> |
| <DL> |
| <DD>Returns a new Ini instance created from the default <code>classpath:shiro.ini</code> file, or <code>null</code> if |
| the file does not exist. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new Ini instance created from the default <code>classpath:shiro.ini</code> file, or <code>null</code> if |
| the file does not exist.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resolveIni()"><!-- --></A><H3> |
| resolveIni</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.88"><B>resolveIni</B></A>()</PRE> |
| <DL> |
| <DD>Tries to resolve the Ini instance to use for configuration. This implementation functions as follows: |
| <ol> |
| <li>The <code>Ini</code> instance returned from <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#getIni()"><CODE>getIni()</CODE></A> will be returned if it is not null or empty.</li> |
| <li>If <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#getIni()"><CODE>getIni()</CODE></A> is <code>null</code> or empty, this implementation will attempt to find and load the |
| <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#loadDefaultClassPathIni()"><CODE>default class path Ini</CODE></A>.</li> |
| <li>If neither of the two attempts above returns an instance, <code>null</code> is returned</li> |
| </ol> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the Ini instance to use for configuration.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createInstance()"><!-- --></A><H3> |
| createInstance</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html" title="type parameter in IniFactorySupport">T</A> <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.107"><B>createInstance</B></A>()</PRE> |
| <DL> |
| <DD>Creates a new object instance by using a configured INI source. This implementation functions as follows: |
| <ol> |
| <li><A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#resolveIni()"><CODE>Resolve</CODE></A> the <code>Ini</code> source to use for configuration.</li> |
| <li>If there was no resolved Ini source, create and return a simple default instance via the |
| <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html#createDefaultInstance()"><CODE>createDefaultInstance()</CODE></A> method.</li> |
| </ol> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/shiro/util/AbstractFactory.html#createInstance()">createInstance</A></CODE> in class <CODE><A HREF="../../../../org/apache/shiro/util/AbstractFactory.html" title="class in org.apache.shiro.util">AbstractFactory</A><<A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html" title="type parameter in IniFactorySupport">T</A>></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a new <code>SecurityManager</code> instance by using a configured INI source.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createInstance(org.apache.shiro.config.Ini)"><!-- --></A><H3> |
| createInstance</H3> |
| <PRE> |
| protected abstract <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html" title="type parameter in IniFactorySupport">T</A> <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.134"><B>createInstance</B></A>(<A HREF="../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</A> ini)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createDefaultInstance()"><!-- --></A><H3> |
| createDefaultInstance</H3> |
| <PRE> |
| protected abstract <A HREF="../../../../org/apache/shiro/config/IniFactorySupport.html" title="type parameter in IniFactorySupport">T</A> <A HREF="../../../../src-html/org/apache/shiro/config/IniFactorySupport.html#line.136"><B>createDefaultInstance</B></A>()</PRE> |
| <DL> |
| <DD><DL> |
| </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="class-use/IniFactorySupport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../../org/apache/shiro/config/Ini.Section.html" title="class in org.apache.shiro.config"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/shiro/config/IniSecurityManagerFactory.html" title="class in org.apache.shiro.config"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/shiro/config/IniFactorySupport.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="IniFactorySupport.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2004-2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |