juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [21/32] incubator-juneau-website git commit: New @RequestBean annotation for remoteable interfaces.
Date Wed, 24 May 2017 23:08:01 GMT
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b852a3e8/content/site/apidocs/src-html/org/apache/juneau/Context.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/Context.html b/content/site/apidocs/src-html/org/apache/juneau/Context.html
index 206aef0..2800c07 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/Context.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/Context.html
@@ -38,34 +38,47 @@
 <span class="sourceLineNo">030</span> */<a name="line.30"></a>
 <span class="sourceLineNo">031</span>public abstract class Context {<a name="line.31"></a>
 <span class="sourceLineNo">032</span><a name="line.32"></a>
-<span class="sourceLineNo">033</span>   /**<a name="line.33"></a>
-<span class="sourceLineNo">034</span>    * Constructor for this class.<a name="line.34"></a>
-<span class="sourceLineNo">035</span>    * &lt;p&gt;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    * Subclasses MUST implement the same
constructor.<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    *<a name="line.37"></a>
-<span class="sourceLineNo">038</span>    * @param propertyStore The factory that
created this config.<a name="line.38"></a>
-<span class="sourceLineNo">039</span>    */<a name="line.39"></a>
-<span class="sourceLineNo">040</span>   public Context(PropertyStore propertyStore)
{}<a name="line.40"></a>
-<span class="sourceLineNo">041</span><a name="line.41"></a>
-<span class="sourceLineNo">042</span>   /**<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    * Returns the properties defined on
this bean context as a simple map for debugging purposes.<a name="line.43"></a>
-<span class="sourceLineNo">044</span>    *<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    * @return A new map containing the properties
defined on this context.<a name="line.45"></a>
-<span class="sourceLineNo">046</span>    */<a name="line.46"></a>
-<span class="sourceLineNo">047</span>   @Overrideable<a name="line.47"></a>
-<span class="sourceLineNo">048</span>   public ObjectMap asMap() {<a name="line.48"></a>
-<span class="sourceLineNo">049</span>      return new ObjectMap();<a name="line.49"></a>
-<span class="sourceLineNo">050</span>   }<a name="line.50"></a>
-<span class="sourceLineNo">051</span><a name="line.51"></a>
-<span class="sourceLineNo">052</span>   @Override /* Object */<a name="line.52"></a>
-<span class="sourceLineNo">053</span>   public final String toString() {<a
name="line.53"></a>
-<span class="sourceLineNo">054</span>      try {<a name="line.54"></a>
-<span class="sourceLineNo">055</span>         return asMap().toString(JsonSerializer.DEFAULT_LAX_READABLE);<a
name="line.55"></a>
-<span class="sourceLineNo">056</span>      } catch (SerializeException e) {<a
name="line.56"></a>
-<span class="sourceLineNo">057</span>         return e.getLocalizedMessage();<a
name="line.57"></a>
-<span class="sourceLineNo">058</span>      }<a name="line.58"></a>
-<span class="sourceLineNo">059</span>   }<a name="line.59"></a>
-<span class="sourceLineNo">060</span>}<a name="line.60"></a>
+<span class="sourceLineNo">033</span>   private final PropertyStore propertyStore;<a
name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>   /**<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    * Constructor for this class.<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * &lt;p&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    * Subclasses MUST implement the same
constructor.<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    *<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    * @param propertyStore The factory that
created this config.<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    */<a name="line.41"></a>
+<span class="sourceLineNo">042</span>   public Context(PropertyStore propertyStore)
{<a name="line.42"></a>
+<span class="sourceLineNo">043</span>      this.propertyStore = PropertyStore.create(propertyStore);<a
name="line.43"></a>
+<span class="sourceLineNo">044</span>   }<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>   /**<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    * Returns the property store associated
with this context.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    * <a name="line.48"></a>
+<span class="sourceLineNo">049</span>    * @return The property store associated
with this context.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    */<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   protected PropertyStore getPropertyStore()
{<a name="line.51"></a>
+<span class="sourceLineNo">052</span>      return propertyStore;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>   /**<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    * Returns the properties defined on
this bean context as a simple map for debugging purposes.<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    *<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    * @return A new map containing the properties
defined on this context.<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    */<a name="line.59"></a>
+<span class="sourceLineNo">060</span>   @Overrideable<a name="line.60"></a>
+<span class="sourceLineNo">061</span>   public ObjectMap asMap() {<a name="line.61"></a>
+<span class="sourceLineNo">062</span>      return new ObjectMap();<a name="line.62"></a>
+<span class="sourceLineNo">063</span>   }<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span>   @Override /* Object */<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   public final String toString() {<a
name="line.66"></a>
+<span class="sourceLineNo">067</span>      try {<a name="line.67"></a>
+<span class="sourceLineNo">068</span>         return asMap().toString(JsonSerializer.DEFAULT_LAX_READABLE);<a
name="line.68"></a>
+<span class="sourceLineNo">069</span>      } catch (SerializeException e) {<a
name="line.69"></a>
+<span class="sourceLineNo">070</span>         return e.getLocalizedMessage();<a
name="line.70"></a>
+<span class="sourceLineNo">071</span>      }<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   }<a name="line.72"></a>
+<span class="sourceLineNo">073</span>}<a name="line.73"></a>
 
 
 


Mime
View raw message