blob: c73b55ad648ffc5f00fe6d64a66aa188e99804d7 [file] [log] [blame]
<!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_26) on Wed Jun 15 18:09:21 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
StateMachineProxyBuilder (Apache MINA 2.0.4 API Documentation)
</TITLE>
<META NAME="date" CONTENT="2011-06-15">
<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="StateMachineProxyBuilder (Apache MINA 2.0.4 API Documentation)";
}
}
</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StateMachineProxyBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineFactory.html" title="class in org.apache.mina.statemachine"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/mina/statemachine/StateMachineProxyBuilder.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="StateMachineProxyBuilder.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.mina.statemachine</FONT>
<BR>
Class StateMachineProxyBuilder</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/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 "><B>org.apache.mina.statemachine.StateMachineProxyBuilder</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>StateMachineProxyBuilder</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
Used to create proxies which will forward all method calls on them to a
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine"><CODE>StateMachine</CODE></A>.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD><a href="http://mina.apache.org">Apache MINA Project</a></DD>
</DL>
<HR>
<P>
<!-- ======== 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><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#StateMachineProxyBuilder()">StateMachineProxyBuilder</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#create(java.lang.Class[], org.apache.mina.statemachine.StateMachine)">create</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;[]&nbsp;ifaces,
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine">StateMachine</A>&nbsp;sm)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a proxy for the specified interfaces and which uses the specified
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine"><CODE>StateMachine</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T&gt; T</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#create(java.lang.Class, org.apache.mina.statemachine.StateMachine)">create</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;iface,
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine">StateMachine</A>&nbsp;sm)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a proxy for the specified interface and which uses the specified
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine"><CODE>StateMachine</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#setClassLoader(java.lang.ClassLoader)">setClassLoader</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A>&nbsp;cl)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the class loader to use for instantiating proxies.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#setEventArgumentsInterceptor(org.apache.mina.statemachine.event.EventArgumentsInterceptor)">setEventArgumentsInterceptor</A></B>(<A HREF="../../../../org/apache/mina/statemachine/event/EventArgumentsInterceptor.html" title="interface in org.apache.mina.statemachine.event">EventArgumentsInterceptor</A>&nbsp;interceptor)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <A HREF="../../../../org/apache/mina/statemachine/event/EventArgumentsInterceptor.html" title="interface in org.apache.mina.statemachine.event"><CODE>EventArgumentsInterceptor</CODE></A> to be used.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#setEventFactory(org.apache.mina.statemachine.event.EventFactory)">setEventFactory</A></B>(<A HREF="../../../../org/apache/mina/statemachine/event/EventFactory.html" title="interface in org.apache.mina.statemachine.event">EventFactory</A>&nbsp;eventFactory)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <A HREF="../../../../org/apache/mina/statemachine/event/EventFactory.html" title="interface in org.apache.mina.statemachine.event"><CODE>EventFactory</CODE></A> to be used.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#setIgnoreStateContextLookupFailure(boolean)">setIgnoreStateContextLookupFailure</A></B>(boolean&nbsp;b)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the failure to lookup a <A HREF="../../../../org/apache/mina/statemachine/context/StateContext.html" title="interface in org.apache.mina.statemachine.context"><CODE>StateContext</CODE></A> corresponding
to a method call on the proxy produced by this builder will raise an
exception or be silently ignored.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#setIgnoreUnhandledEvents(boolean)">setIgnoreUnhandledEvents</A></B>(boolean&nbsp;b)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether events which have no handler in the current state will raise
an exception or be silently ignored.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#setName(java.lang.String)">setName</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the proxy created by this builder.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html#setStateContextLookup(org.apache.mina.statemachine.context.StateContextLookup)">setStateContextLookup</A></B>(<A HREF="../../../../org/apache/mina/statemachine/context/StateContextLookup.html" title="interface in org.apache.mina.statemachine.context">StateContextLookup</A>&nbsp;contextLookup)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <A HREF="../../../../org/apache/mina/statemachine/context/StateContextLookup.html" title="interface in org.apache.mina.statemachine.context"><CODE>StateContextLookup</CODE></A> to be used.</TD>
</TR>
</TABLE>
&nbsp;<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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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/j2se/1.5.0/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>
&nbsp;
<P>
<!-- ========= 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="StateMachineProxyBuilder()"><!-- --></A><H3>
StateMachineProxyBuilder</H3>
<PRE>
public <B>StateMachineProxyBuilder</B>()</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="setName(java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A> <B>setName</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Sets the name of the proxy created by this builder. This will be used
by the proxies <code>toString()</code> method. If not specified a default
auto generated name will be used.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name.
<DT><B>Returns:</B><DD>this <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine"><CODE>StateMachineProxyBuilder</CODE></A> for method chaining.</DL>
</DD>
</DL>
<HR>
<A NAME="setStateContextLookup(org.apache.mina.statemachine.context.StateContextLookup)"><!-- --></A><H3>
setStateContextLookup</H3>
<PRE>
public <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A> <B>setStateContextLookup</B>(<A HREF="../../../../org/apache/mina/statemachine/context/StateContextLookup.html" title="interface in org.apache.mina.statemachine.context">StateContextLookup</A>&nbsp;contextLookup)</PRE>
<DL>
<DD>Sets the <A HREF="../../../../org/apache/mina/statemachine/context/StateContextLookup.html" title="interface in org.apache.mina.statemachine.context"><CODE>StateContextLookup</CODE></A> to be used. The default is to use
a <A HREF="../../../../org/apache/mina/statemachine/context/SingletonStateContextLookup.html" title="class in org.apache.mina.statemachine.context"><CODE>SingletonStateContextLookup</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>contextLookup</CODE> - the <A HREF="../../../../org/apache/mina/statemachine/context/StateContextLookup.html" title="interface in org.apache.mina.statemachine.context"><CODE>StateContextLookup</CODE></A> to use.
<DT><B>Returns:</B><DD>this <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine"><CODE>StateMachineProxyBuilder</CODE></A> for method chaining.</DL>
</DD>
</DL>
<HR>
<A NAME="setEventFactory(org.apache.mina.statemachine.event.EventFactory)"><!-- --></A><H3>
setEventFactory</H3>
<PRE>
public <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A> <B>setEventFactory</B>(<A HREF="../../../../org/apache/mina/statemachine/event/EventFactory.html" title="interface in org.apache.mina.statemachine.event">EventFactory</A>&nbsp;eventFactory)</PRE>
<DL>
<DD>Sets the <A HREF="../../../../org/apache/mina/statemachine/event/EventFactory.html" title="interface in org.apache.mina.statemachine.event"><CODE>EventFactory</CODE></A> to be used. The default is to use a
<A HREF="../../../../org/apache/mina/statemachine/event/DefaultEventFactory.html" title="class in org.apache.mina.statemachine.event"><CODE>DefaultEventFactory</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>eventFactory</CODE> - the <A HREF="../../../../org/apache/mina/statemachine/event/EventFactory.html" title="interface in org.apache.mina.statemachine.event"><CODE>EventFactory</CODE></A> to use.
<DT><B>Returns:</B><DD>this <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine"><CODE>StateMachineProxyBuilder</CODE></A> for method chaining.</DL>
</DD>
</DL>
<HR>
<A NAME="setEventArgumentsInterceptor(org.apache.mina.statemachine.event.EventArgumentsInterceptor)"><!-- --></A><H3>
setEventArgumentsInterceptor</H3>
<PRE>
public <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A> <B>setEventArgumentsInterceptor</B>(<A HREF="../../../../org/apache/mina/statemachine/event/EventArgumentsInterceptor.html" title="interface in org.apache.mina.statemachine.event">EventArgumentsInterceptor</A>&nbsp;interceptor)</PRE>
<DL>
<DD>Sets the <A HREF="../../../../org/apache/mina/statemachine/event/EventArgumentsInterceptor.html" title="interface in org.apache.mina.statemachine.event"><CODE>EventArgumentsInterceptor</CODE></A> to be used. By default no
<A HREF="../../../../org/apache/mina/statemachine/event/EventArgumentsInterceptor.html" title="interface in org.apache.mina.statemachine.event"><CODE>EventArgumentsInterceptor</CODE></A> will be used.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>interceptor</CODE> - the <A HREF="../../../../org/apache/mina/statemachine/event/EventArgumentsInterceptor.html" title="interface in org.apache.mina.statemachine.event"><CODE>EventArgumentsInterceptor</CODE></A> to use.
<DT><B>Returns:</B><DD>this <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine"><CODE>StateMachineProxyBuilder</CODE></A> for method chaining.</DL>
</DD>
</DL>
<HR>
<A NAME="setIgnoreUnhandledEvents(boolean)"><!-- --></A><H3>
setIgnoreUnhandledEvents</H3>
<PRE>
public <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A> <B>setIgnoreUnhandledEvents</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Sets whether events which have no handler in the current state will raise
an exception or be silently ignored. The default is to raise an
exception.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - <code>true</code> to ignore context lookup failures.
<DT><B>Returns:</B><DD>this <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine"><CODE>StateMachineProxyBuilder</CODE></A> for method chaining.</DL>
</DD>
</DL>
<HR>
<A NAME="setIgnoreStateContextLookupFailure(boolean)"><!-- --></A><H3>
setIgnoreStateContextLookupFailure</H3>
<PRE>
public <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A> <B>setIgnoreStateContextLookupFailure</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Sets whether the failure to lookup a <A HREF="../../../../org/apache/mina/statemachine/context/StateContext.html" title="interface in org.apache.mina.statemachine.context"><CODE>StateContext</CODE></A> corresponding
to a method call on the proxy produced by this builder will raise an
exception or be silently ignored. The default is to raise an exception.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - <code>true</code> to ignore context lookup failures.
<DT><B>Returns:</B><DD>this <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine"><CODE>StateMachineProxyBuilder</CODE></A> for method chaining.</DL>
</DD>
</DL>
<HR>
<A NAME="setClassLoader(java.lang.ClassLoader)"><!-- --></A><H3>
setClassLoader</H3>
<PRE>
public <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine">StateMachineProxyBuilder</A> <B>setClassLoader</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A>&nbsp;cl)</PRE>
<DL>
<DD>Sets the class loader to use for instantiating proxies. The default is
to use the current threads context <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang"><CODE>ClassLoader</CODE></A> as returned by
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html?is-external=true#getContextClassLoader()" title="class or interface in java.lang"><CODE>Thread.getContextClassLoader()</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cl</CODE> - the class loader
<DT><B>Returns:</B><DD>this <A HREF="../../../../org/apache/mina/statemachine/StateMachineProxyBuilder.html" title="class in org.apache.mina.statemachine"><CODE>StateMachineProxyBuilder</CODE></A> for method chaining.</DL>
</DD>
</DL>
<HR>
<A NAME="create(java.lang.Class, org.apache.mina.statemachine.StateMachine)"><!-- --></A><H3>
create</H3>
<PRE>
public &lt;T&gt; T <B>create</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;iface,
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine">StateMachine</A>&nbsp;sm)</PRE>
<DL>
<DD>Creates a proxy for the specified interface and which uses the specified
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine"><CODE>StateMachine</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>iface</CODE> - the interface the proxy will implement.<DD><CODE>sm</CODE> - the <A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine"><CODE>StateMachine</CODE></A> which will receive the events
generated by the method calls on the proxy.
<DT><B>Returns:</B><DD>the proxy object.</DL>
</DD>
</DL>
<HR>
<A NAME="create(java.lang.Class[], org.apache.mina.statemachine.StateMachine)"><!-- --></A><H3>
create</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>create</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;[]&nbsp;ifaces,
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine">StateMachine</A>&nbsp;sm)</PRE>
<DL>
<DD>Creates a proxy for the specified interfaces and which uses the specified
<A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine"><CODE>StateMachine</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ifaces</CODE> - the interfaces the proxy will implement.<DD><CODE>sm</CODE> - the <A HREF="../../../../org/apache/mina/statemachine/StateMachine.html" title="class in org.apache.mina.statemachine"><CODE>StateMachine</CODE></A> which will receive the events
generated by the method calls on the proxy.
<DT><B>Returns:</B><DD>the proxy object.</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StateMachineProxyBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/mina/statemachine/StateMachineFactory.html" title="class in org.apache.mina.statemachine"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/mina/statemachine/StateMachineProxyBuilder.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="StateMachineProxyBuilder.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2004-2011 <a href="http://mina.apache.org/">Apache MINA Project</a>. All Rights Reserved.
</BODY>
</HTML>