| <!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_22) on Thu Jan 19 14:30:02 EST 2012 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| JAXRSServerFactoryBean (Apache CXF Bundle Jar 2.4.6 API) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.cxf.jaxrs.JAXRSServerFactoryBean class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="JAXRSServerFactoryBean (Apache CXF Bundle Jar 2.4.6 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="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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/JAXRSServerFactoryBean.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> |
| Apache CXF API</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/cxf/jaxrs/JAXRSInvoker.html" title="class in org.apache.cxf.jaxrs"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServiceFactoryBean.html" title="class in org.apache.cxf.jaxrs"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cxf/jaxrs/JAXRSServerFactoryBean.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JAXRSServerFactoryBean.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <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.apache.cxf.jaxrs</FONT> |
| <BR> |
| Class JAXRSServerFactoryBean</H2> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/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 "><A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html" title="class in org.apache.cxf.interceptor">org.apache.cxf.interceptor.AbstractBasicInterceptorProvider</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html" title="class in org.apache.cxf.endpoint">org.apache.cxf.endpoint.AbstractEndpointFactory</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html" title="class in org.apache.cxf.jaxrs">org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.cxf.jaxrs.JAXRSServerFactoryBean</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/cxf/interceptor/InterceptorProvider.html" title="interface in org.apache.cxf.interceptor">InterceptorProvider</A></DD> |
| </DL> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/cxf/jaxrs/spring/JAXRSServerFactoryBeanDefinitionParser.SpringJAXRSServerFactoryBean.html" title="class in org.apache.cxf.jaxrs.spring">JAXRSServerFactoryBeanDefinitionParser.SpringJAXRSServerFactoryBean</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>JAXRSServerFactoryBean</B><DT>extends <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html" title="class in org.apache.cxf.jaxrs">AbstractJAXRSFactoryBean</A></DL> |
| </PRE> |
| |
| <P> |
| Bean to help easily create Server endpoints for JAX-RS. Example: |
| <pre> |
| JAXRSServerFactoryBean sf = JAXRSServerFactoryBean(); |
| sf.setResourceClasses(Book.class); |
| sf.setBindingId(JAXRSBindingFactory.JAXRS_BINDING_ID); |
| sf.setAddress("http://localhost:9080/"); |
| Server myServer = sf.create(); |
| </pre> |
| This will start a server for you and register it with the ServerManager. Note |
| you should explicitly close the <A HREF="../../../../org/apache/cxf/endpoint/Server.html" title="interface in org.apache.cxf.endpoint"><CODE>Server</CODE></A> created |
| when finished with it: |
| <pre> |
| myServer.close(); |
| myServer.destroy(); // closes first if close() not previously called |
| </pre> |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_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>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>,<A HREF="../../../../org/apache/cxf/jaxrs/lifecycle/ResourceProvider.html" title="interface in org.apache.cxf.jaxrs.lifecycle">ResourceProvider</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#resourceProviders">resourceProviders</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from class org.apache.cxf.jaxrs.<A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html" title="class in org.apache.cxf.jaxrs">AbstractJAXRSFactoryBean</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#entityProviders">entityProviders</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#schemaLocations">schemaLocations</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#serviceFactory">serviceFactory</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.cxf.endpoint.AbstractEndpointFactory"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from class org.apache.cxf.endpoint.<A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html" title="class in org.apache.cxf.endpoint">AbstractEndpointFactory</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#address">address</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#bindingConfig">bindingConfig</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#bindingFactory">bindingFactory</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#bindingId">bindingId</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#bus">bus</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#conduitSelector">conduitSelector</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#dataBinding">dataBinding</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#destinationFactory">destinationFactory</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#endpointName">endpointName</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#endpointReference">endpointReference</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#features">features</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#properties">properties</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#publishedEndpointUrl">publishedEndpointUrl</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#serviceName">serviceName</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#transportId">transportId</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== 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/cxf/jaxrs/JAXRSServerFactoryBean.html#JAXRSServerFactoryBean()">JAXRSServerFactoryBean</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#JAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServiceFactoryBean)">JAXRSServerFactoryBean</A></B>(<A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServiceFactoryBean.html" title="class in org.apache.cxf.jaxrs">JAXRSServiceFactoryBean</A> sf)</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>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#applyFeatures()">applyFeatures</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cxf/endpoint/Server.html" title="interface in org.apache.cxf.endpoint">Server</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#create()">create</A></B>()</CODE> |
| |
| <BR> |
| Creates the JAX-RS Server instance</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cxf/service/invoker/Invoker.html" title="interface in org.apache.cxf.service.invoker">Invoker</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#createInvoker()">createInvoker</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#getDocLocation()">getDocLocation</A></B>()</CODE> |
| |
| <BR> |
| Get the reference to the document (WADL, etc) describing the endpoint</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#getResourceClasses()">getResourceClasses</A></B>()</CODE> |
| |
| <BR> |
| </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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#init()">init</A></B>()</CODE> |
| |
| <BR> |
| Creates the JAX-RS Server instance</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setApplication(javax.ws.rs.core.Application)">setApplication</A></B>(javax.ws.rs.core.Application app)</CODE> |
| |
| <BR> |
| Saves the reference to the JAX-RS <CODE>Application</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setDocLocation(java.lang.String)">setDocLocation</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> docLocation)</CODE> |
| |
| <BR> |
| Set the reference to the document (WADL, etc) describing the endpoint</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setExtensionMappings(java.util.Map)">setExtensionMappings</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> extMaps)</CODE> |
| |
| <BR> |
| Sets the extension mappings, |
| example, 'xml' is the key and 'text/xml' is the value.</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setInvoker(org.apache.cxf.service.invoker.Invoker)">setInvoker</A></B>(<A HREF="../../../../org/apache/cxf/service/invoker/Invoker.html" title="interface in org.apache.cxf.service.invoker">Invoker</A> invoker)</CODE> |
| |
| <BR> |
| Sets the custom Invoker which can be used to customize the way |
| the default JAX-RS invoker calls on the service bean</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setLanguageMappings(java.util.Map)">setLanguageMappings</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> lMaps)</CODE> |
| |
| <BR> |
| Sets the language mappings, |
| example, 'en' is the key and 'en-gb' is the value.</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setResourceClasses(java.lang.Class...)">setResourceClasses</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>... classes)</CODE> |
| |
| <BR> |
| Sets one or more root resource classes</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setResourceClasses(java.util.List)">setResourceClasses</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>> classes)</CODE> |
| |
| <BR> |
| Sets one or more root resource classes</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setResourceComparator(org.apache.cxf.jaxrs.ext.ResourceComparator)">setResourceComparator</A></B>(<A HREF="../../../../org/apache/cxf/jaxrs/ext/ResourceComparator.html" title="interface in org.apache.cxf.jaxrs.ext">ResourceComparator</A> rcomp)</CODE> |
| |
| <BR> |
| Resource comparator which may be used to customize the way |
| a root resource or resource method is selected</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setResourceProvider(java.lang.Class, org.apache.cxf.jaxrs.lifecycle.ResourceProvider)">setResourceProvider</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> c, |
| <A HREF="../../../../org/apache/cxf/jaxrs/lifecycle/ResourceProvider.html" title="interface in org.apache.cxf.jaxrs.lifecycle">ResourceProvider</A> rp)</CODE> |
| |
| <BR> |
| Sets the provider managing the life-cycle of the given resource class</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setResourceProvider(org.apache.cxf.jaxrs.lifecycle.ResourceProvider)">setResourceProvider</A></B>(<A HREF="../../../../org/apache/cxf/jaxrs/lifecycle/ResourceProvider.html" title="interface in org.apache.cxf.jaxrs.lifecycle">ResourceProvider</A> rp)</CODE> |
| |
| <BR> |
| Sets the provider managing the life-cycle of the resource class</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setResourceProviders(java.util.List)">setResourceProviders</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/cxf/jaxrs/lifecycle/ResourceProvider.html" title="interface in org.apache.cxf.jaxrs.lifecycle">ResourceProvider</A>> rps)</CODE> |
| |
| <BR> |
| Sets the list of providers managing the life-cycle of the resource classes</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setServiceBean(java.lang.Object)">setServiceBean</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> bean)</CODE> |
| |
| <BR> |
| Sets the single resource bean.</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setServiceBeanObjects(java.lang.Object...)">setServiceBeanObjects</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>... beans)</CODE> |
| |
| <BR> |
| Sets the resource beans.</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setServiceBeans(java.util.List)">setServiceBeans</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> beans)</CODE> |
| |
| <BR> |
| Sets the resource beans.</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setServiceClass(java.lang.Class)">setServiceClass</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> clazz)</CODE> |
| |
| <BR> |
| This method is used primarily by Spring handler processing |
| the jaxrs:server/@serviceClass attribute.</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setStart(boolean)">setStart</A></B>(boolean start)</CODE> |
| |
| <BR> |
| Determines whether Services are automatically started during the create() call.</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/apache/cxf/jaxrs/JAXRSServerFactoryBean.html#setStaticSubresourceResolution(boolean)">setStaticSubresourceResolution</A></B>(boolean enableStatic)</CODE> |
| |
| <BR> |
| By default the subresources are resolved dynamically, mainly due to |
| the JAX-RS specification allowing Objects being returned from the subresource |
| locators.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.apache.cxf.jaxrs.<A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html" title="class in org.apache.cxf.jaxrs">AbstractJAXRSFactoryBean</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#checkResources(boolean)">checkResources</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#createBindingInfo()">createBindingInfo</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#createEndpoint()">createEndpoint</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#createEndpointInfo()">createEndpointInfo</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#getBus()">getBus</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#getProviders()">getProviders</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#getServiceFactory()">getServiceFactory</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setBus(org.apache.cxf.Bus)">setBus</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setDataBindingProvider(org.apache.cxf.jaxrs.provider.ProviderFactory, org.apache.cxf.service.Service)">setDataBindingProvider</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setModelBeans(java.util.List)">setModelBeans</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setModelBeans(org.apache.cxf.jaxrs.model.UserResource...)">setModelBeans</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setModelBeansWithServiceClass(java.util.List, java.lang.Class...)">setModelBeansWithServiceClass</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setModelRef(java.lang.String)">setModelRef</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setModelRefWithServiceClass(java.lang.String, java.lang.Class...)">setModelRefWithServiceClass</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setProvider(java.lang.Object)">setProvider</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setProviders(java.util.List)">setProviders</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setSchemaLocation(java.lang.String)">setSchemaLocation</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setSchemaLocations(java.util.List)">setSchemaLocations</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setServiceFactory(org.apache.cxf.jaxrs.JAXRSServiceFactoryBean)">setServiceFactory</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setServiceName(javax.xml.namespace.QName)">setServiceName</A>, <A HREF="../../../../org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.html#setupFactory(org.apache.cxf.endpoint.Endpoint)">setupFactory</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.cxf.endpoint.AbstractEndpointFactory"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.apache.cxf.endpoint.<A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html" title="class in org.apache.cxf.endpoint">AbstractEndpointFactory</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#checkPrivateEndpoint(org.apache.cxf.endpoint.Endpoint)">checkPrivateEndpoint</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getAddress()">getAddress</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getBindingConfig()">getBindingConfig</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getBindingFactory()">getBindingFactory</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getBindingId()">getBindingId</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getConduitSelector()">getConduitSelector</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getDataBinding()">getDataBinding</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getDestinationFactory()">getDestinationFactory</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getEndpointName()">getEndpointName</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getFeatures()">getFeatures</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getProperties()">getProperties</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getProperties(boolean)">getProperties</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getPublishedEndpointUrl()">getPublishedEndpointUrl</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getServiceName()">getServiceName</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#getTransportId()">getTransportId</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#initializeAnnotationInterceptors(org.apache.cxf.interceptor.AnnotationInterceptors, org.apache.cxf.endpoint.Endpoint)">initializeAnnotationInterceptors</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#initializeAnnotationInterceptors(org.apache.cxf.endpoint.Endpoint, java.lang.Class...)">initializeAnnotationInterceptors</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#initializeAnnotationInterceptors(org.apache.cxf.endpoint.Endpoint, java.lang.Class)">initializeAnnotationInterceptors</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setAddress(java.lang.String)">setAddress</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setBindingConfig(org.apache.cxf.binding.BindingConfiguration)">setBindingConfig</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setBindingFactory(org.apache.cxf.binding.BindingFactory)">setBindingFactory</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setBindingId(java.lang.String)">setBindingId</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setConduitSelector(org.apache.cxf.endpoint.ConduitSelector)">setConduitSelector</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setDataBinding(org.apache.cxf.databinding.DataBinding)">setDataBinding</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setDestinationFactory(org.apache.cxf.transport.DestinationFactory)">setDestinationFactory</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setEndpointName(javax.xml.namespace.QName)">setEndpointName</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setEndpointReference(org.apache.cxf.ws.addressing.EndpointReferenceType)">setEndpointReference</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setFeatures(java.util.List)">setFeatures</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setProperties(java.util.Map)">setProperties</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setPublishedEndpointUrl(java.lang.String)">setPublishedEndpointUrl</A>, <A HREF="../../../../org/apache/cxf/endpoint/AbstractEndpointFactory.html#setTransportId(java.lang.String)">setTransportId</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.cxf.interceptor.AbstractBasicInterceptorProvider"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.apache.cxf.interceptor.<A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html" title="class in org.apache.cxf.interceptor">AbstractBasicInterceptorProvider</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html#getInFaultInterceptors()">getInFaultInterceptors</A>, <A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html#getInInterceptors()">getInInterceptors</A>, <A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html#getOutFaultInterceptors()">getOutFaultInterceptors</A>, <A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html#getOutInterceptors()">getOutInterceptors</A>, <A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html#setInFaultInterceptors(java.util.List)">setInFaultInterceptors</A>, <A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html#setInInterceptors(java.util.List)">setInInterceptors</A>, <A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html#setOutFaultInterceptors(java.util.List)">setOutFaultInterceptors</A>, <A HREF="../../../../org/apache/cxf/interceptor/AbstractBasicInterceptorProvider.html#setOutInterceptors(java.util.List)">setOutInterceptors</A></CODE></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://download.oracle.com/javase/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/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> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_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>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="resourceProviders"><!-- --></A><H3> |
| resourceProviders</H3> |
| <PRE> |
| protected <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>,<A HREF="../../../../org/apache/cxf/jaxrs/lifecycle/ResourceProvider.html" title="interface in org.apache.cxf.jaxrs.lifecycle">ResourceProvider</A>> <B>resourceProviders</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= 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="JAXRSServerFactoryBean()"><!-- --></A><H3> |
| JAXRSServerFactoryBean</H3> |
| <PRE> |
| public <B>JAXRSServerFactoryBean</B>()</PRE> |
| <DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServiceFactoryBean)"><!-- --></A><H3> |
| JAXRSServerFactoryBean</H3> |
| <PRE> |
| public <B>JAXRSServerFactoryBean</B>(<A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServiceFactoryBean.html" title="class in org.apache.cxf.jaxrs">JAXRSServiceFactoryBean</A> sf)</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="setApplication(javax.ws.rs.core.Application)"><!-- --></A><H3> |
| setApplication</H3> |
| <PRE> |
| public void <B>setApplication</B>(javax.ws.rs.core.Application app)</PRE> |
| <DL> |
| <DD>Saves the reference to the JAX-RS <CODE>Application</CODE> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>app</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setResourceComparator(org.apache.cxf.jaxrs.ext.ResourceComparator)"><!-- --></A><H3> |
| setResourceComparator</H3> |
| <PRE> |
| public void <B>setResourceComparator</B>(<A HREF="../../../../org/apache/cxf/jaxrs/ext/ResourceComparator.html" title="interface in org.apache.cxf.jaxrs.ext">ResourceComparator</A> rcomp)</PRE> |
| <DL> |
| <DD>Resource comparator which may be used to customize the way |
| a root resource or resource method is selected |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>rcomp</CODE> - comparator</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStaticSubresourceResolution(boolean)"><!-- --></A><H3> |
| setStaticSubresourceResolution</H3> |
| <PRE> |
| public void <B>setStaticSubresourceResolution</B>(boolean enableStatic)</PRE> |
| <DL> |
| <DD>By default the subresources are resolved dynamically, mainly due to |
| the JAX-RS specification allowing Objects being returned from the subresource |
| locators. Setting this property to true enables the runtime to do the |
| early resolution. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>enableStatic</CODE> - enabling the static resolution if set to true</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="init()"><!-- --></A><H3> |
| init</H3> |
| <PRE> |
| public void <B>init</B>()</PRE> |
| <DL> |
| <DD>Creates the JAX-RS Server instance |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create()"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cxf/endpoint/Server.html" title="interface in org.apache.cxf.endpoint">Server</A> <B>create</B>()</PRE> |
| <DL> |
| <DD>Creates the JAX-RS Server instance |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the server</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="applyFeatures()"><!-- --></A><H3> |
| applyFeatures</H3> |
| <PRE> |
| protected void <B>applyFeatures</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createInvoker()"><!-- --></A><H3> |
| createInvoker</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cxf/service/invoker/Invoker.html" title="interface in org.apache.cxf.service.invoker">Invoker</A> <B>createInvoker</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setLanguageMappings(java.util.Map)"><!-- --></A><H3> |
| setLanguageMappings</H3> |
| <PRE> |
| public void <B>setLanguageMappings</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> lMaps)</PRE> |
| <DL> |
| <DD>Sets the language mappings, |
| example, 'en' is the key and 'en-gb' is the value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>lMaps</CODE> - the language mappings</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setExtensionMappings(java.util.Map)"><!-- --></A><H3> |
| setExtensionMappings</H3> |
| <PRE> |
| public void <B>setExtensionMappings</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>,<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> extMaps)</PRE> |
| <DL> |
| <DD>Sets the extension mappings, |
| example, 'xml' is the key and 'text/xml' is the value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>lMaps</CODE> - the extension mappings</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getResourceClasses()"><!-- --></A><H3> |
| getResourceClasses</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><?>> <B>getResourceClasses</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setServiceClass(java.lang.Class)"><!-- --></A><H3> |
| setServiceClass</H3> |
| <PRE> |
| public void <B>setServiceClass</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> clazz)</PRE> |
| <DL> |
| <DD>This method is used primarily by Spring handler processing |
| the jaxrs:server/@serviceClass attribute. It delegates to |
| setResourceClasses method accepting the array of Class parameters. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>clazz</CODE> - the service/resource class</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setResourceClasses(java.util.List)"><!-- --></A><H3> |
| setResourceClasses</H3> |
| <PRE> |
| public void <B>setResourceClasses</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>> classes)</PRE> |
| <DL> |
| <DD>Sets one or more root resource classes |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>classes</CODE> - the list of resource classes</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setResourceClasses(java.lang.Class...)"><!-- --></A><H3> |
| setResourceClasses</H3> |
| <PRE> |
| public void <B>setResourceClasses</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>... classes)</PRE> |
| <DL> |
| <DD>Sets one or more root resource classes |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>classes</CODE> - the array of resource classes</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setServiceBeanObjects(java.lang.Object...)"><!-- --></A><H3> |
| setServiceBeanObjects</H3> |
| <PRE> |
| public void <B>setServiceBeanObjects</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>... beans)</PRE> |
| <DL> |
| <DD>Sets the resource beans. If this is set then the JAX-RS runtime |
| will not be responsible for the life-cycle of resource classes. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>beans</CODE> - the array of resource instances</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setServiceBean(java.lang.Object)"><!-- --></A><H3> |
| setServiceBean</H3> |
| <PRE> |
| public void <B>setServiceBean</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> bean)</PRE> |
| <DL> |
| <DD>Sets the single resource bean. If this is set then the JAX-RS runtime |
| will not be responsible for the life-cycle of resource classes. |
| Please avoid setting the resource class of this bean explicitly, |
| the runtime will determine it itself. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>bean</CODE> - resource instance</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setServiceBeans(java.util.List)"><!-- --></A><H3> |
| setServiceBeans</H3> |
| <PRE> |
| public void <B>setServiceBeans</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> beans)</PRE> |
| <DL> |
| <DD>Sets the resource beans. If this is set then the JAX-RS runtime |
| will not be responsible for the life-cycle of resource classes. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>beans</CODE> - the list of resource instances</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setResourceProvider(java.lang.Class, org.apache.cxf.jaxrs.lifecycle.ResourceProvider)"><!-- --></A><H3> |
| setResourceProvider</H3> |
| <PRE> |
| public void <B>setResourceProvider</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> c, |
| <A HREF="../../../../org/apache/cxf/jaxrs/lifecycle/ResourceProvider.html" title="interface in org.apache.cxf.jaxrs.lifecycle">ResourceProvider</A> rp)</PRE> |
| <DL> |
| <DD>Sets the provider managing the life-cycle of the given resource class |
| <pre> |
| Example: |
| setResourceProvider(BookStoreInterface.class, new SingletonResourceProvider(new BookStore())); |
| </pre> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>c</CODE> - resource class<DD><CODE>rp</CODE> - resource provider</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setResourceProvider(org.apache.cxf.jaxrs.lifecycle.ResourceProvider)"><!-- --></A><H3> |
| setResourceProvider</H3> |
| <PRE> |
| public void <B>setResourceProvider</B>(<A HREF="../../../../org/apache/cxf/jaxrs/lifecycle/ResourceProvider.html" title="interface in org.apache.cxf.jaxrs.lifecycle">ResourceProvider</A> rp)</PRE> |
| <DL> |
| <DD>Sets the provider managing the life-cycle of the resource class |
| <pre> |
| Example: |
| setResourceProvider(new SingletonResourceProvider(new BookStore())); |
| </pre> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>rp</CODE> - resource provider</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setResourceProviders(java.util.List)"><!-- --></A><H3> |
| setResourceProviders</H3> |
| <PRE> |
| public void <B>setResourceProviders</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/cxf/jaxrs/lifecycle/ResourceProvider.html" title="interface in org.apache.cxf.jaxrs.lifecycle">ResourceProvider</A>> rps)</PRE> |
| <DL> |
| <DD>Sets the list of providers managing the life-cycle of the resource classes |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>rps</CODE> - resource providers</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setInvoker(org.apache.cxf.service.invoker.Invoker)"><!-- --></A><H3> |
| setInvoker</H3> |
| <PRE> |
| public void <B>setInvoker</B>(<A HREF="../../../../org/apache/cxf/service/invoker/Invoker.html" title="interface in org.apache.cxf.service.invoker">Invoker</A> invoker)</PRE> |
| <DL> |
| <DD>Sets the custom Invoker which can be used to customize the way |
| the default JAX-RS invoker calls on the service bean |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>invoker</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStart(boolean)"><!-- --></A><H3> |
| setStart</H3> |
| <PRE> |
| public void <B>setStart</B>(boolean start)</PRE> |
| <DL> |
| <DD>Determines whether Services are automatically started during the create() call. Default is true. |
| If false will need to call start() method on Server to activate it. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>start</CODE> - Whether (true) or not (false) to start the Server during Server creation.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDocLocation(java.lang.String)"><!-- --></A><H3> |
| setDocLocation</H3> |
| <PRE> |
| public void <B>setDocLocation</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> docLocation)</PRE> |
| <DL> |
| <DD>Set the reference to the document (WADL, etc) describing the endpoint |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>documentLocation</CODE> - document location</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDocLocation()"><!-- --></A><H3> |
| getDocLocation</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDocLocation</B>()</PRE> |
| <DL> |
| <DD>Get the reference to the document (WADL, etc) describing the endpoint |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>document location</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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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/JAXRSServerFactoryBean.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> |
| Apache CXF API</EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/cxf/jaxrs/JAXRSInvoker.html" title="class in org.apache.cxf.jaxrs"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cxf/jaxrs/JAXRSServiceFactoryBean.html" title="class in org.apache.cxf.jaxrs"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cxf/jaxrs/JAXRSServerFactoryBean.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JAXRSServerFactoryBean.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <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> |
| Apache CXF |
| </BODY> |
| </HTML> |