<!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.5.0_15) on Thu Aug 28 00:22:54 EDT 2008 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
RemotingProxyFactory (JBoss Remoting Aspects 1.0.1-SNAPSHOT API)
</TITLE>
<META NAME="keywords" CONTENT="org.jboss.aspects.remoting.RemotingProxyFactory class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="RemotingProxyFactory (JBoss Remoting Aspects 1.0.1-SNAPSHOT API)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= 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="../../../../org/jboss/aspects/remoting/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RemotingProxyFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/jboss/aspects/remoting/Remoting.html" title="class in org.jboss.aspects.remoting"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/jboss/aspects/remoting/RemotingProxyFactory.html" target="_top"><B>FRAMES</B></A>
<A HREF="RemotingProxyFactory.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.jboss.aspects.remoting</FONT>
<BR>
Class RemotingProxyFactory</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.jboss.aspects.remoting.RemotingProxyFactory</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>RemotingProxyFactory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
<code>RemotingProxyFactory</code> is an AOP / Remoting replacement for
<code>org.jboss.invocation.jrmp.server.JRMPProxyFactory</code>.
<p>
Given the following parameters
<p>
<ul>
<li>a list of interfaces,</li>
<li>an array of interceptor class names or interceptor POJOs,</li>
<li>an <code>org.jboss.remoting.InvokerLocator</code> pointing to an
<code>org.jboss.remoting.transport.Connector</code> running
an <code>org.jboss.aspects.remoting.AOPRemotingInvocationHandler</code>,</li>
<li>a target object, and</li>
<li>a JNDI name (optional),</li>
</ul>
<p>
RemotingProxyFactory will create a proxy that
<p>
<ol>
<li>implements the interfaces,</li>
<li>makes invocations through the chain of client side interceptors,<li>
<li>sends invocations to the remote <code>Connector</code> where they are processed
by the provided target,</li>
</ol>
<p>
and, if the JNDI name property has been set, it will bind the proxy to the provided name in JNDI.
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Revision: 1.1 $
<p>
Copyright Jun 6, 2008
</p></DD>
<DT><B>Author:</B></DT>
<DD><a href="ron.sigal@jboss.com">Ron Sigal</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/jboss/aspects/remoting/RemotingProxyFactory.html#RemotingProxyFactory()">RemotingProxyFactory</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> org.jboss.remoting.transport.Connector</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getConnector()">getConnector</A></B>()</CODE>
<BR>
Returns the Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getDispatchName()">getDispatchName</A></B>()</CODE>
<BR>
Returns the name under which the AOP dispatcher will register the target</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html" title="class or interface in java.util">ArrayList</A><?></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getInterceptors()">getInterceptors</A></B>()</CODE>
<BR>
Returns the interceptors through which an invocation will pass on the client side.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><?>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getInterfaces()">getInterfaces</A></B>()</CODE>
<BR>
Returns the interfaces implemented by the proxy created by this instance
of <code>RemotingProxyFactory</code></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getInvokerLocator()">getInvokerLocator</A></B>()</CODE>
<BR>
Returns the String form of the <code>InvokerLocator</code> that identifies the
Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getJndiName()">getJndiName</A></B>()</CODE>
<BR>
Returns the name to which the proxy will be bound in JNDI</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> org.jboss.aop.proxy.Proxy</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getProxy()">getProxy</A></B>()</CODE>
<BR>
Returns the proxy created by this instance of <code>RemotingProxyFactory</code></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getSubsystem()">getSubsystem</A></B>()</CODE>
<BR>
Returns the subsystem name that identifes the <code>AOPRemotingInvocationHandler</code>
running in the Remoting <code>Connector</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#getTarget()">getTarget</A></B>()</CODE>
<BR>
Returns the target to which the AOP dispatcher will direct invocations</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#setConnector(org.jboss.remoting.transport.Connector)">setConnector</A></B>(org.jboss.remoting.transport.Connector connector)</CODE>
<BR>
Sets the Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#setDispatchName(java.lang.String)">setDispatchName</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> dispatchName)</CODE>
<BR>
Sets the name under which the AOP dispatcher will register the target</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#setInterceptors(java.util.ArrayList)">setInterceptors</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html" title="class or interface in java.util">ArrayList</A><?> interceptors)</CODE>
<BR>
Sets the interceptors through which an invocation will pass on the client side.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#setInterfaces(java.lang.Class[])">setInterfaces</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><?>[] interfaces)</CODE>
<BR>
Sets the interfaces implemented by the proxy created by this
instance of <code>RemotingProxyFactory</code></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#setInvokerLocator(java.lang.String)">setInvokerLocator</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> locator)</CODE>
<BR>
Sets the String form of the <code>InvokerLocator</code> that identifies the
Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#setJndiName(java.lang.String)">setJndiName</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> jndiName)</CODE>
<BR>
Sets the name to which the proxy will be bound in JNDI</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#setSubsystem(java.lang.String)">setSubsystem</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> subsystem)</CODE>
<BR>
Sets the subsystem name that identifes the <code>AOPRemotingInvocationHandler</code>
running in the Remoting <code>Connector</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#setTarget(java.lang.Object)">setTarget</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> target)</CODE>
<BR>
Sets the target to which the AOP dispatcher will direct invocations</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#start()">start</A></B>()</CODE>
<BR>
Lifecycle method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/jboss/aspects/remoting/RemotingProxyFactory.html#stop()">stop</A></B>()</CODE>
<BR>
Lifecycle method.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" 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#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#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#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#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#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#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#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#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#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#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#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
<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="RemotingProxyFactory()"><!-- --></A><H3>
RemotingProxyFactory</H3>
<PRE>
public <B>RemotingProxyFactory</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="getTarget()"><!-- --></A><H3>
getTarget</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getTarget</B>()</PRE>
<DL>
<DD>Returns the target to which the AOP dispatcher will direct invocations
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the target to which the AOP dispatcher will direct invocations</DL>
</DD>
</DL>
<HR>
<A NAME="setTarget(java.lang.Object)"><!-- --></A><H3>
setTarget</H3>
<PRE>
public void <B>setTarget</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> target)</PRE>
<DL>
<DD>Sets the target to which the AOP dispatcher will direct invocations
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - the target to which the AOP dispatcher will direct invocations</DL>
</DD>
</DL>
<HR>
<A NAME="getInterfaces()"><!-- --></A><H3>
getInterfaces</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><?>[] <B>getInterfaces</B>()</PRE>
<DL>
<DD>Returns the interfaces implemented by the proxy created by this instance
of <code>RemotingProxyFactory</code>
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the interfaces implemented by the proxy created by this instance
of <code>RemotingProxyFactory</code>s</DL>
</DD>
</DL>
<HR>
<A NAME="setInterfaces(java.lang.Class[])"><!-- --></A><H3>
setInterfaces</H3>
<PRE>
public void <B>setInterfaces</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><?>[] interfaces)</PRE>
<DL>
<DD>Sets the interfaces implemented by the proxy created by this
instance of <code>RemotingProxyFactory</code>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>interfaces</CODE> - the interfaces implemented by the proxy created by this
instance of <code>RemotingProxyFactory</code></DL>
</DD>
</DL>
<HR>
<A NAME="getDispatchName()"><!-- --></A><H3>
getDispatchName</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDispatchName</B>()</PRE>
<DL>
<DD>Returns the name under which the AOP dispatcher will register the target
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the name under which the AOP dispatcher will register the target</DL>
</DD>
</DL>
<HR>
<A NAME="setDispatchName(java.lang.String)"><!-- --></A><H3>
setDispatchName</H3>
<PRE>
public void <B>setDispatchName</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> dispatchName)</PRE>
<DL>
<DD>Sets the name under which the AOP dispatcher will register the target
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dispatchName</CODE> - the name under which the AOP dispatcher will register the target</DL>
</DD>
</DL>
<HR>
<A NAME="getJndiName()"><!-- --></A><H3>
getJndiName</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getJndiName</B>()</PRE>
<DL>
<DD>Returns the name to which the proxy will be bound in JNDI
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the name to which the proxy will be bound in JNDI</DL>
</DD>
</DL>
<HR>
<A NAME="setJndiName(java.lang.String)"><!-- --></A><H3>
setJndiName</H3>
<PRE>
public void <B>setJndiName</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> jndiName)</PRE>
<DL>
<DD>Sets the name to which the proxy will be bound in JNDI
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jndiName</CODE> - the name to which the proxy will be bound in JNDI</DL>
</DD>
</DL>
<HR>
<A NAME="getInvokerLocator()"><!-- --></A><H3>
getInvokerLocator</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getInvokerLocator</B>()</PRE>
<DL>
<DD>Returns the String form of the <code>InvokerLocator</code> that identifies the
Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the String form of the <code>InvokerLocator</code> that identifies the
Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target</DL>
</DD>
</DL>
<HR>
<A NAME="setInvokerLocator(java.lang.String)"><!-- --></A><H3>
setInvokerLocator</H3>
<PRE>
public void <B>setInvokerLocator</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> locator)
throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/MalformedURLException.html" title="class or interface in java.net">MalformedURLException</A></PRE>
<DL>
<DD>Sets the String form of the <code>InvokerLocator</code> that identifies the
Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - the String form of the <code>InvokerLocator</code> that identifies the
Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/MalformedURLException.html" title="class or interface in java.net">MalformedURLException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getConnector()"><!-- --></A><H3>
getConnector</H3>
<PRE>
public org.jboss.remoting.transport.Connector <B>getConnector</B>()</PRE>
<DL>
<DD>Returns the Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target</DL>
</DD>
</DL>
<HR>
<A NAME="setConnector(org.jboss.remoting.transport.Connector)"><!-- --></A><H3>
setConnector</H3>
<PRE>
public void <B>setConnector</B>(org.jboss.remoting.transport.Connector connector)</PRE>
<DL>
<DD>Sets the Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>connector</CODE> - the Remoting <code>Connector</code> that directs invocations to the
<code>AOPRemotingInvocationHandler</code>, which then directs
invocations to the target</DL>
</DD>
</DL>
<HR>
<A NAME="getSubsystem()"><!-- --></A><H3>
getSubsystem</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSubsystem</B>()</PRE>
<DL>
<DD>Returns the subsystem name that identifes the <code>AOPRemotingInvocationHandler</code>
running in the Remoting <code>Connector</code>. Defaults to "AOP".
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the subsystem name that identifes the <code>AOPRemotingInvocationHandler</code>
running in the Remoting <code>Connector</code>. Defaults to "AOP".</DL>
</DD>
</DL>
<HR>
<A NAME="setSubsystem(java.lang.String)"><!-- --></A><H3>
setSubsystem</H3>
<PRE>
public void <B>setSubsystem</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> subsystem)</PRE>
<DL>
<DD>Sets the subsystem name that identifes the <code>AOPRemotingInvocationHandler</code>
running in the Remoting <code>Connector</code>. Defaults to "AOP".
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>subsystem</CODE> - the subsystem name that identifes the <code>AOPRemotingInvocationHandler</code>
running in the Remoting <code>Connector</code>. Defaults to "AOP".</DL>
</DD>
</DL>
<HR>
<A NAME="getInterceptors()"><!-- --></A><H3>
getInterceptors</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html" title="class or interface in java.util">ArrayList</A><?> <B>getInterceptors</B>()</PRE>
<DL>
<DD>Returns the interceptors through which an invocation will pass on the client side.
<p>
<b>N.B.</b> Each element of the list is either
<p>
<ol>
<li>the fully qualified class name of an interceptor, or</li>
<li>an interceptor POJO.</li>
</ol>
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the interceptors through which an invocation will pass on the client side.</DL>
</DD>
</DL>
<HR>
<A NAME="setInterceptors(java.util.ArrayList)"><!-- --></A><H3>
setInterceptors</H3>
<PRE>
public void <B>setInterceptors</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html" title="class or interface in java.util">ArrayList</A><?> interceptors)</PRE>
<DL>
<DD>Sets the interceptors through which an invocation will pass on the client side.
<p>
<b>N.B.</b> Each element of the list must be either
<p>
<ol>
<li>the fully qualified class name of an interceptor, or</li>
<li>an interceptor POJO.</li>
</ol>
<p>
If the element is a class name, then the class must have either
<p>
<ol>
<li>a public static field named "singleton" that holds an instance of the interceptor, or</li>
<li>a default constructor.</li>
</ol>
<p>
<b>N.B.</b>The interceptors <code>MergeMetaDataInterceptor</code> and
<code>InvokeRemoteInterceptor</code> are automatically appended to the end of the list.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>interceptors</CODE> - the interceptors through which an invocation will pass on the client side.</DL>
</DD>
</DL>
<HR>
<A NAME="getProxy()"><!-- --></A><H3>
getProxy</H3>
<PRE>
public org.jboss.aop.proxy.Proxy <B>getProxy</B>()</PRE>
<DL>
<DD>Returns the proxy created by this instance of <code>RemotingProxyFactory</code>
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the proxy created by this instance of <code>RemotingProxyFactory</code></DL>
</DD>
</DL>
<HR>
<A NAME="start()"><!-- --></A><H3>
start</H3>
<PRE>
public void <B>start</B>()
throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>Lifecycle method.
<p>
The lifecycle method that
<ol>
<li>registers the target with the AOP dispatcher</li>
<li>creates the proxy</li>
<li>binds the proxy in JNDI</li>
</ol>
<p>
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="stop()"><!-- --></A><H3>
stop</H3>
<PRE>
public void <B>stop</B>()
throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>Lifecycle method.
<p>
The lifecycle method that
<p>
<ol>
<li>unregisters the target with AOP dispatcher</li>
<li>unbinds the proxy from JNDI</li>
</ol>
<p>
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></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="../../../../org/jboss/aspects/remoting/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RemotingProxyFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/jboss/aspects/remoting/Remoting.html" title="class in org.jboss.aspects.remoting"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/jboss/aspects/remoting/RemotingProxyFactory.html" target="_top"><B>FRAMES</B></A>
<A HREF="RemotingProxyFactory.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2008 <a href="http://www.jboss.org">JBoss Inc.</a>. All Rights Reserved.
</BODY>
</HTML>