| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_25) on Sat Jun 29 08:36:31 CEST 2013 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>Property (Apache Felix iPOJO ~ JavaDoc 1.10.1 API)</title> |
| <meta name="date" content="2013-06-29"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Property (Apache Felix iPOJO ~ JavaDoc 1.10.1 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="class-use/Property.html">Use</a></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> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/felix/ipojo/util/Methods.html" title="class in org.apache.felix.ipojo.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/felix/ipojo/util/Reflection.html" title="class in org.apache.felix.ipojo.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/felix/ipojo/util/Property.html" target="_top">Frames</a></li> |
| <li><a href="Property.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </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.apache.felix.ipojo.util</div> |
| <h2 title="Class Property" class="title">Class Property</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.felix.ipojo.util.Property</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo">ConstructorInjector</a>, <a href="../../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo">FieldInterceptor</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.41">Property</a> |
| extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo">FieldInterceptor</a>, <a href="../../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo">ConstructorInjector</a></pre> |
| <div class="block">Property class managing a managed value. |
| This class managed the method invocation, field injection |
| and constructor injection.</div> |
| <dl><dt><span class="strong">Author:</span></dt> |
| <dd><a href="mailto:dev@felix.apache.org">Felix Project Team</a></dd></dl> |
| </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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </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>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_defaultValue">m_defaultValue</a></strong></code> |
| <div class="block">The default value of the property.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_field">m_field</a></strong></code> |
| <div class="block">The field of the property.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_handler">m_handler</a></strong></code> |
| <div class="block">The handler object to get the logger.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_index">m_index</a></strong></code> |
| <div class="block">The index of the parameter in case of |
| constructor injection.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_invoked">m_invoked</a></strong></code> |
| <div class="block">Flag tracking is the method was |
| already called for the current value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/InstanceManager.html" title="class in org.apache.felix.ipojo">InstanceManager</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_manager">m_manager</a></strong></code> |
| <div class="block">The instance manager.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/felix/ipojo/util/Callback.html" title="class in org.apache.felix.ipojo.util">Callback</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_method">m_method</a></strong></code> |
| <div class="block">The setter method of the property.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_name">m_name</a></strong></code> |
| <div class="block">The name of the property (field name if not set).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_type">m_type</a></strong></code> |
| <div class="block">The type of the property.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#m_value">m_value</a></strong></code> |
| <div class="block">The value of the property.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#NO_VALUE">NO_VALUE</a></strong></code> |
| <div class="block">Object used for an unvalued property.</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#Property(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, org.apache.felix.ipojo.InstanceManager, org.apache.felix.ipojo.Handler)">Property</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> field, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> method, |
| int index, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type, |
| <a href="../../../../../org/apache/felix/ipojo/InstanceManager.html" title="class in org.apache.felix.ipojo">InstanceManager</a> manager, |
| <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> handler)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#Property(java.lang.String, java.lang.String, java.lang.String, java.lang.Object, org.apache.felix.ipojo.InstanceManager, org.apache.felix.ipojo.Handler)">Property</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> field, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> method, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../../org/apache/felix/ipojo/InstanceManager.html" title="class in org.apache.felix.ipojo">InstanceManager</a> manager, |
| <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> handler)</code> |
| <div class="block">Creates a property.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#Property(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.apache.felix.ipojo.InstanceManager, org.apache.felix.ipojo.Handler)">Property</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> field, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> method, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type, |
| <a href="../../../../../org/apache/felix/ipojo/InstanceManager.html" title="class in org.apache.felix.ipojo">InstanceManager</a> manager, |
| <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> handler)</code> |
| <div class="block">Creates a property.</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#computeArrayType(java.lang.String, org.osgi.framework.BundleContext)">computeArrayType</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type, |
| <a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html?is-external=true" title="class or interface in org.osgi.framework">BundleContext</a> context)</code> |
| <div class="block">Gets the Class object of a type array.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#computeType(java.lang.String, org.osgi.framework.BundleContext)">computeType</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type, |
| <a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html?is-external=true" title="class or interface in org.osgi.framework">BundleContext</a> context)</code> |
| <div class="block">Computes and returns the property type according to the given type name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#create(java.lang.Class, java.lang.String)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> strValue)</code> |
| <div class="block">Creates an object of the given type with the given String value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#createArrayObject(java.lang.Class, java.lang.String[])">createArrayObject</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> interntype, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] values)</code> |
| <div class="block">Creates an array object containing the type component type from |
| the String array 'values'.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getConstructorParameter(int)">getConstructorParameter</a></strong>(int index)</code> |
| <div class="block">Gets the object to inject as constructor parameter.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getConstructorParameterType(int)">getConstructorParameterType</a></strong>(int index)</code> |
| <div class="block">Gets the type of the constructor parameter to inject.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getDefaultValue()">getDefaultValue</a></strong>()</code> |
| <div class="block">Gets the initial value of the property.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getField()">getField</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getHandler()">getHandler</a></strong>()</code> |
| <div class="block">Gets the handler managing the property.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getMethod()">getMethod</a></strong>()</code> |
| <div class="block">Gets the method name, |
| <code>null</code> if no method.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getName()">getName</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getNoValue(java.lang.Class)">getNoValue</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">Gets the NO VALUE Object.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getParameterIndex()">getParameterIndex</a></strong>()</code> |
| <div class="block">Gets the parameter index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getType()">getType</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#getValue()">getValue</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#hasField()">hasField</a></strong>()</code> |
| <div class="block">Checks if the property has a field.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#hasMethod()">hasMethod</a></strong>()</code> |
| <div class="block">Checks if the property has a method callback.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#invoke(java.lang.Object)">invoke</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> instance)</code> |
| <div class="block">Invokes the setter method on the given pojo object.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#isAssignable(java.lang.Class, java.lang.Object)">isAssignable</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">Checks if the given value is assignable to the given type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#onGet(java.lang.Object, java.lang.String, java.lang.Object)">onGet</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">A field value is required by the object 'pojo'.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#onSet(java.lang.Object, java.lang.String, java.lang.Object)">onSet</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">The field 'field' receives a new value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#reset()">reset</a></strong>()</code> |
| <div class="block">Clears the invoked flag.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/felix/ipojo/util/Property.html#setValue(java.lang.Object)">setValue</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">Sets the value of the property.</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 java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/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://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></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="NO_VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>NO_VALUE</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.46">NO_VALUE</a></pre> |
| <div class="block">Object used for an unvalued property.</div> |
| </li> |
| </ul> |
| <a name="m_name"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_name</h4> |
| <pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.52">m_name</a></pre> |
| <div class="block">The name of the property (field name if not set). |
| Cannot change once set.</div> |
| </li> |
| </ul> |
| <a name="m_field"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_field</h4> |
| <pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.58">m_field</a></pre> |
| <div class="block">The field of the property. |
| Cannot change once set.</div> |
| </li> |
| </ul> |
| <a name="m_method"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_method</h4> |
| <pre>private final <a href="../../../../../org/apache/felix/ipojo/util/Callback.html" title="class in org.apache.felix.ipojo.util">Callback</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.64">m_method</a></pre> |
| <div class="block">The setter method of the property. |
| Cannot change once set.</div> |
| </li> |
| </ul> |
| <a name="m_index"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_index</h4> |
| <pre>private int <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.70">m_index</a></pre> |
| <div class="block">The index of the parameter in case of |
| constructor injection.</div> |
| </li> |
| </ul> |
| <a name="m_value"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_value</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.75">m_value</a></pre> |
| <div class="block">The value of the property.</div> |
| </li> |
| </ul> |
| <a name="m_defaultValue"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_defaultValue</h4> |
| <pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.80">m_defaultValue</a></pre> |
| <div class="block">The default value of the property.</div> |
| </li> |
| </ul> |
| <a name="m_invoked"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_invoked</h4> |
| <pre>private boolean <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.86">m_invoked</a></pre> |
| <div class="block">Flag tracking is the method was |
| already called for the current value.</div> |
| </li> |
| </ul> |
| <a name="m_type"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_type</h4> |
| <pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.91">m_type</a></pre> |
| <div class="block">The type of the property.</div> |
| </li> |
| </ul> |
| <a name="m_handler"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>m_handler</h4> |
| <pre>private final <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.96">m_handler</a></pre> |
| <div class="block">The handler object to get the logger.</div> |
| </li> |
| </ul> |
| <a name="m_manager"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>m_manager</h4> |
| <pre>private final <a href="../../../../../org/apache/felix/ipojo/InstanceManager.html" title="class in org.apache.felix.ipojo">InstanceManager</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.101">m_manager</a></pre> |
| <div class="block">The instance manager.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="Property(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.apache.felix.ipojo.InstanceManager, org.apache.felix.ipojo.Handler)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Property</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.116">Property</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> field, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> method, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type, |
| <a href="../../../../../org/apache/felix/ipojo/InstanceManager.html" title="class in org.apache.felix.ipojo">InstanceManager</a> manager, |
| <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> handler) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Creates a property. |
| At least the method or the field need |
| to be specified.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the property (optional)</dd><dd><code>field</code> - the name of the field</dd><dd><code>method</code> - the method name</dd><dd><code>value</code> - the initial value of the property (optional)</dd><dd><code>type</code> - the the type of the property</dd><dd><code>manager</code> - the instance manager</dd><dd><code>handler</code> - the handler object which manage this property.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if the property value cannot be set.</dd></dl> |
| </li> |
| </ul> |
| <a name="Property(java.lang.String, java.lang.String, java.lang.String, java.lang.Object, org.apache.felix.ipojo.InstanceManager, org.apache.felix.ipojo.Handler)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Property</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.156">Property</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> field, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> method, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../../org/apache/felix/ipojo/InstanceManager.html" title="class in org.apache.felix.ipojo">InstanceManager</a> manager, |
| <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> handler) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Creates a property. |
| At least the method or the field need |
| to be specified.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the property (optional)</dd><dd><code>field</code> - the name of the field</dd><dd><code>method</code> - the method name</dd><dd><code>value</code> - the initial value of the property (optional)</dd><dd><code>manager</code> - the instance manager</dd><dd><code>handler</code> - the handler object which manage this property.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if the property value cannot be set.</dd></dl> |
| </li> |
| </ul> |
| <a name="Property(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, org.apache.felix.ipojo.InstanceManager, org.apache.felix.ipojo.Handler)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Property</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.186">Property</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> field, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> method, |
| int index, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type, |
| <a href="../../../../../org/apache/felix/ipojo/InstanceManager.html" title="class in org.apache.felix.ipojo">InstanceManager</a> manager, |
| <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> handler) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code></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="computeType(java.lang.String, org.osgi.framework.BundleContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>computeType</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.199">computeType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type, |
| <a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html?is-external=true" title="class or interface in org.osgi.framework">BundleContext</a> context) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Computes and returns the property type according to the given type name.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the the type name</dd><dd><code>context</code> - the bundle context (used to load classes)</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the class of the given type</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if an error occurs when loading the type class for non-primitive types.</dd></dl> |
| </li> |
| </ul> |
| <a name="computeArrayType(java.lang.String, org.osgi.framework.BundleContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>computeArrayType</h4> |
| <pre>private static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.245">computeArrayType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type, |
| <a href="http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html?is-external=true" title="class or interface in org.osgi.framework">BundleContext</a> context) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Gets the Class object of a type array.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the string descriptor of the type (must end by [] )</dd><dd><code>context</code> - the bundle context (used to load classes)</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the Class object of the given type array.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if the class cannot be loaded</dd></dl> |
| </li> |
| </ul> |
| <a name="getName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.291">getName</a>()</pre> |
| </li> |
| </ul> |
| <a name="getField()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getField</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.295">getField</a>()</pre> |
| </li> |
| </ul> |
| <a name="getType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getType</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.299">getType</a>()</pre> |
| </li> |
| </ul> |
| <a name="getMethod()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMethod</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.308">getMethod</a>()</pre> |
| <div class="block">Gets the method name, |
| <code>null</code> if no method.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the method name.</dd></dl> |
| </li> |
| </ul> |
| <a name="hasMethod()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasMethod</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.317">hasMethod</a>()</pre> |
| <div class="block">Checks if the property has a method callback.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the property has a method.</dd></dl> |
| </li> |
| </ul> |
| <a name="getParameterIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParameterIndex</h4> |
| <pre>public int <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.327">getParameterIndex</a>()</pre> |
| <div class="block">Gets the parameter index.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the parameter index or <code>-1</code> |
| if this property is not injected using constructor |
| parameter.</dd></dl> |
| </li> |
| </ul> |
| <a name="hasField()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasField</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.335">hasField</a>()</pre> |
| <div class="block">Checks if the property has a field.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the property has a field.</dd></dl> |
| </li> |
| </ul> |
| <a name="getValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValue</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.339">getValue</a>()</pre> |
| </li> |
| </ul> |
| <a name="getDefaultValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultValue</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.347">getDefaultValue</a>()</pre> |
| <div class="block">Gets the initial value of the property.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the default value.</dd></dl> |
| </li> |
| </ul> |
| <a name="getNoValue(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNoValue</h4> |
| <pre>private static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.358">getNoValue</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">Gets the NO VALUE Object. |
| This method returns the object to inject when the property |
| was not assigned to a value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the type of the value.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the object to inject when the property has no value.</dd></dl> |
| </li> |
| </ul> |
| <a name="setValue(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setValue</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.375">setValue</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">Sets the value of the property.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the new value.</dd></dl> |
| </li> |
| </ul> |
| <a name="isAssignable(java.lang.Class, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAssignable</h4> |
| <pre>public static boolean <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.404">isAssignable</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">Checks if the given value is assignable to the given type.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the class of the type</dd><dd><code>value</code> - the object to check</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the object is assignable in the property of type 'type'.</dd></dl> |
| </li> |
| </ul> |
| <a name="create(java.lang.Class, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.431">create</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> strValue) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Creates an object of the given type with the given String value.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the type of the returned object</dd><dd><code>strValue</code> - the String value.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the object of type 'type' created from the String 'value'</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if the object cannot be created.</dd></dl> |
| </li> |
| </ul> |
| <a name="createArrayObject(java.lang.Class, java.lang.String[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createArrayObject</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.495">createArrayObject</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> interntype, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] values) |
| throws <a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></pre> |
| <div class="block">Creates an array object containing the type component type from |
| the String array 'values'.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>interntype</code> - the internal type of the array.</dd><dd><code>values</code> - the String array</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the array containing objects created from the 'values' array</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConfigurationException.html" title="class in org.apache.felix.ipojo">ConfigurationException</a></code> - if the array cannot be created correctly</dd></dl> |
| </li> |
| </ul> |
| <a name="reset()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reset</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.580">reset</a>()</pre> |
| <div class="block">Clears the invoked flag. |
| Then, despite the setter was already called, |
| it will be invoked another times.</div> |
| </li> |
| </ul> |
| <a name="invoke(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invoke</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.589">invoke</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> instance)</pre> |
| <div class="block">Invokes the setter method on the given pojo object. |
| If no specified pojo object, it calls on each created pojo object.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>instance</code> - the created object (could be <code>null</code>)</dd></dl> |
| </li> |
| </ul> |
| <a name="onGet(java.lang.Object, java.lang.String, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onGet</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.626">onGet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">A field value is required by the object 'pojo'.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/FieldInterceptor.html#onGet(java.lang.Object, java.lang.String, java.lang.Object)">onGet</a></code> in interface <code><a href="../../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo">FieldInterceptor</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>pojo</code> - the POJO object</dd><dd><code>fieldName</code> - the field</dd><dd><code>value</code> - the last value</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the value if the handler want to inject this value.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/FieldInterceptor.html#onGet(java.lang.Object, java.lang.String, java.lang.Object)"><code>FieldInterceptor.onGet(java.lang.Object, java.lang.String, java.lang.Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="onSet(java.lang.Object, java.lang.String, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onSet</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.640">onSet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> pojo, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">The field 'field' receives a new value.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/FieldInterceptor.html#onSet(java.lang.Object, java.lang.String, java.lang.Object)">onSet</a></code> in interface <code><a href="../../../../../org/apache/felix/ipojo/FieldInterceptor.html" title="interface in org.apache.felix.ipojo">FieldInterceptor</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>pojo</code> - the pojo</dd><dd><code>fieldName</code> - the field name</dd><dd><code>value</code> - the new value</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/FieldInterceptor.html#onSet(java.lang.Object, java.lang.String, java.lang.Object)"><code>FieldInterceptor.onSet(java.lang.Object, java.lang.String, java.lang.Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getConstructorParameter(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConstructorParameter</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.652">getConstructorParameter</a>(int index)</pre> |
| <div class="block">Gets the object to inject as constructor parameter.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConstructorInjector.html#getConstructorParameter(int)">getConstructorParameter</a></code> in interface <code><a href="../../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo">ConstructorInjector</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the constructor parameter index</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the object to inject, so the property value.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ConstructorInjector.html#getConstructorParameter(int)"><code>ConstructorInjector.getConstructorParameter(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getConstructorParameterType(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConstructorParameterType</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.669">getConstructorParameterType</a>(int index)</pre> |
| <div class="block">Gets the type of the constructor parameter to inject.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/felix/ipojo/ConstructorInjector.html#getConstructorParameterType(int)">getConstructorParameterType</a></code> in interface <code><a href="../../../../../org/apache/felix/ipojo/ConstructorInjector.html" title="interface in org.apache.felix.ipojo">ConstructorInjector</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the parameter index</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the Class of the property.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/felix/ipojo/ConstructorInjector.html#getConstructorParameterType(int)"><code>ConstructorInjector.getConstructorParameterType(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getHandler()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getHandler</h4> |
| <pre>public <a href="../../../../../org/apache/felix/ipojo/Handler.html" title="class in org.apache.felix.ipojo">Handler</a> <a href="../../../../../src-html/org/apache/felix/ipojo/util/Property.html#line.680">getHandler</a>()</pre> |
| <div class="block">Gets the handler managing the property.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the configuration handler.</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="class-use/Property.html">Use</a></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> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/felix/ipojo/util/Methods.html" title="class in org.apache.felix.ipojo.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/felix/ipojo/util/Reflection.html" title="class in org.apache.felix.ipojo.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/felix/ipojo/util/Property.html" target="_top">Frames</a></li> |
| <li><a href="Property.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2013. All rights reserved.</small></p> |
| </body> |
| </html> |