<div>ABCL doesn't need to implement all of Allegro's API. </div>
<div>For instance the marshalling (<a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/make-dist-object.htm"><b>make-dist-object</b></a>:/<a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/discard-in-java.htm"><b>discard-in-java</b></a>) and connection maintainence like <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jlinker-init.htm"><b>jlinker-init</b></a>: from section <a name="init-funs-and-vars-2">2.5</a></div>

<div> </div>
<div>Some macros like <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-constructor.htm"><b>def-java-constructor</b></a> , <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-method.htm"><b>def-java-method</b></a>  <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-class.htm"><b>def-java-class</b></a> are not present in ABCL but should not be hard to create.</div>

<div> </div>
<div>Here is a quick list off top of head:</div>
<div> </div>
<div>
<li id="71"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jdesc.htm"><b>jdesc</b></a>:  <b>Function</b>  (DESCRIBE-JAVA-OBJECT)</li></div>
<div>
<li id="63"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jarrayp.htm"><b>jarrayp</b></a>:  <b>Function</b>  (missing trivial) 
<li id="64"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jarray-ref.htm"><b>jarray-ref</b></a>:  <b>Function</b>: <a href="http://www.franz.com/support/documentation/current/ansicl/dictentr/setfpset.htm"><b>setf</b></a> can be used with this function to set values in a Java array.  (complete) 
<li id="65"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jarray-set.htm"><b>jarray-set</b></a>:  <b>Function</b>: use of this function is deprecated. Use <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jarray-ref.htm"><b>jarray-ref</b></a> and <a href="http://www.franz.com/support/documentation/current/ansicl/dictentr/setfpset.htm"><b>setf</b></a> instead.  (complete) 
<li id="66"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jcall.htm"><b>jcall</b></a>:  <b>Function</b>  (complete) 
<li id="67"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jclass.htm"><b>jclass</b></a>:  <b>Function</b>  (complete) 
<li id="68"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jclass-name.htm"><b>jclass-name</b></a>:  <b>Function</b>  (complete) 
<li id="69"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jclass-of.htm"><b>jclass-of</b></a>:  <b>Function</b>  (complete) 
<li id="70"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jconstructor.htm"><b>jconstructor</b></a>:  <b>Function</b>  (complete) 
<li id="72"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jfield.htm"><b>jfield</b></a>:  <b>Function</b>  (complete) 
<li id="73"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jlinker-version.htm"><b>jlinker-version</b></a>:  <b>Function</b>  (un-needed) 
<li id="74"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jlinker-buffer-size.htm"><b>jlinker-buffer-size</b></a>:  <b>Function</b> (un-needed) 
<li id="75"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jlookup.htm"><b>jlookup</b></a>:  <b>Generic Function</b> (missing) 
<li id="76"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jmethod.htm"><b>jmethod</b></a>:  <b>Function</b>  (complete) 
<li id="77"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jnew.htm"><b>jnew</b></a>:  <b>Function</b>  (complete) 
<li id="78"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jnew-array.htm"><b>jnew-array</b></a>:  <b>Function</b>  (complete) 
<li id="79"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jstatic.htm"><b>jstatic</b></a>:  <b>Function</b>  (complete) 
<li id="80"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/kcons.htm"><b>kcons</b></a>:  <b>Function</b> (missing trivial) 
<li id="81"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/kmeth.htm"><b>kmeth</b></a>:  <b>Function</b> (missing trivial) 
<li><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/last-use.htm"><b>last-use</b></a>:  <b>Generic Function</b> (missing) 
<li id="83"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/make-dist-object.htm"><b>make-dist-object</b></a>:  <b>Generic Function</b> (un-needed) 
<li id="84"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/make-immediate-object.htm"><b>make-immediate-object</b></a>:  <b>Function</b>  (complete)</li>
<li id="146"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jnotify-lisp.htm"><b>jnotify-lisp</b></a> (missing) 
<li id="147"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jregister-handler.htm"><b>jregister-handler</b></a> (complete) 
<li id="148"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/jquery-handler.htm"><b>jquery-handler</b></a> (missing)</li>
<li><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-to-lisp-wrapper.htm"><b>def-java-to-lisp-wrapper</b></a>, <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/gen-output-lang.htm"><b>gen-output-lang</b></a>, and <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/gen-java-stream.htm"><b>gen-java-stream</b></a>. (missing)</li>

<li>
<p id="87"><a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-class.htm"><b>def-java-class</b></a> can be used to define a Lisp class which corresponds to a Java class. (missing)</p>
</li>
<li>
<p> <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-constructor.htm"><b>def-java-constructor</b></a> allows defining constructor functions to create instances of the classes defined with <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-class.htm"><b>def-java-class</b></a>.  (missing)</p>
</li>
<li>
<p> The macro <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-method.htm"><b>def-java-method</b></a> can be used to define methods.(missing)</p></li>
<li>
<p> <a href="http://www.franz.com/support/documentation/current/doc/operators/jlinker/def-java-static.htm"><b>def-java-static</b></a> defines static methods. (missing)</p></li></li></li></li></li></li></li></li></li></li>
</li></li></li></li></li></li></li></li></li></li></li></li></li></div>
<div> </div>
<div> </div>
<div>Though also through other parts of ABCL some things are easier to put in than others.</div>
<div>And ABCL when used with ASM.JAR can create new java classes which has unlimited possiblities</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Wed, Feb 10, 2010 at 3:22 AM, Blake McBride <span dir="ltr"><<a href="mailto:blake@mcbride.name">blake@mcbride.name</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><br></div>I didn't realize ABCL uses Allegro's Java interface API.  Is ABCL's version complete (according to Allegro's docs)? 
<div><br></div>
<div>Thanks.</div>
<div><br></div><font color="#888888">
<div>Blake McBride</div></font>
<div>
<div></div>
<div class="h5">
<div><br><br>
<div class="gmail_quote">On Tue, Feb 9, 2010 at 10:02 PM, <a href="mailto:dmiles@users.sourceforge.net" target="_blank">dmiles@users.sourceforge.net</a> <span dir="ltr"><<a href="mailto:logicmoo@gmail.com" target="_blank">logicmoo@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<h2>#'jfield</h2>
<p><b>Arguments: </b><i>class-ref-or-field field-or-instance </i>&optional <i>instance value</i></p>
<p>This function retrieves or modifies a field in a Java class or instance. </p>
<p>The valid argument patterns for this operation are: </p>
<ul>
<li><b><i>class-ref</i>  <i>field-name</i></b>: to retrieve the value of a static field. </li>
<li><b><i>class-ref</i>  <i>field-name</i>  <i>instance-ref</i></b>: to retrieve the value of a class field of the instance. </li>
<li><b><i>class-ref</i>  <i>field-name</i>  <i>primitive-value</i></b>: to store primitive-value in a static field. </li>
<li><b><i>class-ref</i>  <i>field-name</i>  <i>instance-ref</i>  <i>value</i></b>: to store value in a class field of the instance. </li>
<li><b><i>class-ref</i>  <i>field-name</i>  <code>nil</code>  <i>value</i></b>: to store value in a static field (when <i>value</i> may be confused with an instance-ref). </li>
<li><b><i>field-name</i>  <i>instance</i></b>: to retrieve the value of a field of the instance. The class is derived from the instance. </li>
<li><b><i>field-name</i>  <i>instance</i>  <i>value</i></b>: to store value in a field of the instance. The class is derived from the instance. </li></ul>
<div>See <a href="http://www.franz.com/support/documentation/current/doc/jlinker.htm" target="_blank">jlinker.htm</a> for more information.</div>
<div>. </div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">
<div>
<div></div>
<div>On Tue, Feb 9, 2010 at 7:15 PM, Blake McBride <span dir="ltr"><<a href="mailto:blake@mcbride.name" target="_blank">blake@mcbride.name</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div>Greetings, 
<div><br></div>
<div>I know how to gain access to and execute Java methods via jmethod and jcall, however, I don't know how to get and set instance and static fields (or variables) within a Java class.  Any help would be greatly appreciated.</div>

<div><br></div>
<div>BTW, I've now got a Lisp macro that maps all the methods in a Java class into a corresponding CLOS class.</div>
<div><br></div>
<div>Thanks.</div>
<div><br></div><font color="#888888">
<div>Blake McBride</div>
<div><br></div></font><br></div></div>_______________________________________________<br>armedbear-devel mailing list<br><a href="mailto:armedbear-devel@common-lisp.net" target="_blank">armedbear-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel</a><br><br></blockquote></div><br></blockquote></div><br></div></div>
</div></blockquote></div><br>