blob: 0713d39174497b6e3d72c89eeff4f790c76aabc9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Stateless</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
<link rel="shortcut icon" href="/img/jakarta-favicon.ico">
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Stateless";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../jakarta/ejb/StatefulTimeout.html" title="annotation in jakarta.ejb"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../jakarta/ejb/TimedObject.html" title="interface in jakarta.ejb"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?jakarta/ejb/Stateless.html" target="_top">Frames</a></li>
<li><a href="Stateless.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Required&nbsp;|&nbsp;</li>
<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#annotation.type.element.detail">Element</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">jakarta.ejb</div>
<h2 title="Annotation Type Stateless" class="title">Annotation Type Stateless</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface <span class="memberNameLabel">Stateless</span></pre>
<div class="block">Component-defining annotation for a stateless session bean.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>EJB 3.0</dd>
<dt><span class="simpleTagLabel">Examples (en):</span></dt>
<dd><a href="../../../../../tomee-9.0/examples/webservice-ws-security.html">webservice-ws-security</a>, <a href="../../../../../tomee-9.0/examples/webservice-ssl-client-cert.html">webservice-ssl-client-cert</a>, <a href="../../../../../tomee-9.0/examples/webservice-security.html">webservice-security</a>, <a href="../../../../../tomee-9.0/examples/webservice-inheritance.html">webservice-inheritance</a>, <a href="../../../../../tomee-9.0/examples/webservice-holder.html">webservice-holder</a>, <a href="../../../../../tomee-9.0/examples/webservice-attachments.html">webservice-attachments</a>, <a href="../../../../../tomee-9.0/examples/troubleshooting.html">troubleshooting</a>, <a href="../../../../../tomee-9.0/examples/transaction-rollback.html">transaction-rollback</a>, <a href="../../../../../tomee-9.0/examples/testing-transactions.html">testing-transactions</a>, <a href="../../../../../tomee-9.0/examples/testing-security.html">testing-security</a>, <a href="../../../../../tomee-9.0/examples/testing-security-meta.html">testing-security-meta</a>, <a href="../../../../../tomee-9.0/examples/testing-security-4.html">testing-security-4</a>, <a href="../../../../../tomee-9.0/examples/testing-security-2.html">testing-security-2</a>, <a href="../../../../../tomee-9.0/examples/struts.txt">struts</a>, <a href="../../../../../tomee-9.0/examples/spring-data-proxy.html">spring-data-proxy</a>, <a href="../../../../../tomee-9.0/examples/spring-data-proxy-meta.html">spring-data-proxy-meta</a>, <a href="../../../../../tomee-9.0/examples/simple-webservice.html">simple-webservice</a>, <a href="../../../../../tomee-9.0/examples/simple-webservice-without-interface.html">simple-webservice-without-interface</a>, <a href="../../../../../tomee-9.0/examples/simple-stateless.html">simple-stateless</a>, <a href="../../../../../tomee-9.0/examples/simple-stateless-callbacks.html">simple-stateless-callbacks</a>, <a href="../../../../../tomee-9.0/examples/simple-jms.html">simple-jms</a>, <a href="../../../../../tomee-9.0/examples/simple-jms-context.html">simple-jms-context</a>, <a href="../../../../../tomee-9.0/examples/rest-example.html">rest-example</a>, <a href="../../../../../tomee-9.0/examples/quartz-app.html">quartz-app</a>, <a href="../../../../../tomee-9.0/examples/mtom.html">mtom</a>, <a href="../../../../../tomee-9.0/examples/mp-jsonb-configuration.html">mp-jsonb-configuration</a>, <a href="../../../../../tomee-9.0/examples/movies-complete.html">movies-complete</a>, <a href="../../../../../tomee-9.0/examples/movies-complete-meta.html">movies-complete-meta</a>, <a href="../../../../../tomee-9.0/examples/moviefun.html">moviefun</a>, <a href="../../../../../tomee-9.0/examples/moviefun-rest.html">moviefun-rest</a>, <a href="../../../../../tomee-9.0/examples/lookup-of-ejbs.txt">lookup-of-ejbs</a>, <a href="../../../../../tomee-9.0/examples/jsonb-custom-serializer.html">jsonb-custom-serializer</a>, <a href="../../../../../tomee-9.0/examples/jsonb-configuration.html">jsonb-configuration</a>, <a href="../../../../../tomee-9.0/examples/jsf-managedBean-and-ejb.html">jsf-managedBean-and-ejb</a>, <a href="../../../../../tomee-9.0/examples/jsf-cdi-and-ejb.html">jsf-cdi-and-ejb</a>, <a href="../../../../../tomee-9.0/examples/jaxrs-json-provider-jettison.html">jaxrs-json-provider-jettison</a>, <a href="../../../../../tomee-9.0/examples/javamail-velocity.html">javamail-velocity</a>, <a href="../../../../../tomee-9.0/examples/interceptors.html">interceptors</a>, <a href="../../../../../tomee-9.0/examples/injection-of-ejbs.html">injection-of-ejbs</a>, <a href="../../../../../tomee-9.0/examples/injection-of-connectionfactory.html">injection-of-connectionfactory</a>, <a href="../../../../../tomee-9.0/examples/helloworld-weblogic.html">helloworld-weblogic</a>, <a href="../../../../../tomee-9.0/examples/ejb-webservice.html">ejb-webservice</a>, <a href="../../../../../tomee-9.0/examples/ejb-remote-call.html">ejb-remote-call</a>, <a href="../../../../../tomee-9.0/examples/ejb-examples.html">ejb-examples</a>, <a href="../../../../../tomee-9.0/examples/dynamic-datasource-routing.html">dynamic-datasource-routing</a>, <a href="../../../../../tomee-9.0/examples/dynamic-dao-implementation.html">dynamic-dao-implementation</a>, <a href="../../../../../tomee-9.0/examples/decorators.html">decorators</a>, <a href="../../../../../tomee-9.0/examples/datasource-versioning.html">datasource-versioning</a>, <a href="../../../../../tomee-9.0/examples/custom-injection.html">custom-injection</a>, <a href="../../../../../tomee-9.0/examples/connector-war.html">connector-war</a>, <a href="../../../../../tomee-9.0/examples/cdi-request-scope.html">cdi-request-scope</a>, <a href="../../../../../tomee-9.0/examples/cdi-basic.html">cdi-basic</a>, <a href="../../../../../tomee-9.0/examples/cdi-application-scope.html">cdi-application-scope</a>, <a href="../../../../../tomee-9.0/examples/bval-evaluation-redeployment.html">bval-evaluation-redeployment</a>, <a href="../../../../../tomee-9.0/examples/bean-validation-design-by-contract.html">bean-validation-design-by-contract</a>, <a href="../../../../../tomee-9.0/examples/arquillian-jpa.html">arquillian-jpa</a>, <a href="../../../../../tomee-9.0/examples/applicationexception.html">applicationexception</a>, <a href="../../../../../tomee-9.0/examples/applet.txt">applet</a></dd>
<dt><span class="simpleTagLabel">Examples (es):</span></dt>
<dd><a href="../../../../../tomee-9.0/es/examples/simple-jms.html">simple-jms</a>, <a href="../../../../../tomee-9.0/es/examples/mp-jsonb-configuration.html">mp-jsonb-configuration</a>, <a href="../../../../../tomee-9.0/es/examples/jaxrs-json-provider-jettison.html">jaxrs-json-provider-jettison</a>, <a href="../../../../../tomee-9.0/es/examples/injection-of-ejbs.html">injection-of-ejbs</a>, <a href="../../../../../tomee-9.0/es/examples/cdi-application-scope.html">cdi-application-scope</a>, <a href="../../../../../tomee-9.0/es/examples/arquillian-jpa.html">arquillian-jpa</a></dd>
<dt><span class="simpleTagLabel">Examples (pt):</span></dt>
<dd><a href="../../../../../tomee-9.0/pt/examples/webservice-ssl-client-cert.html">webservice-ssl-client-cert</a>, <a href="../../../../../tomee-9.0/pt/examples/webservice-holder.html">webservice-holder</a>, <a href="../../../../../tomee-9.0/pt/examples/testing-security.html">testing-security</a>, <a href="../../../../../tomee-9.0/pt/examples/spring-data-proxy.html">spring-data-proxy</a>, <a href="../../../../../tomee-9.0/pt/examples/spring-data-proxy-meta.html">spring-data-proxy-meta</a>, <a href="../../../../../tomee-9.0/pt/examples/simple-jms.html">simple-jms</a>, <a href="../../../../../tomee-9.0/pt/examples/simple-jms-context.html">simple-jms-context</a>, <a href="../../../../../tomee-9.0/pt/examples/quartz-app.html">quartz-app</a>, <a href="../../../../../tomee-9.0/pt/examples/mp-jsonb-configuration.html">mp-jsonb-configuration</a>, <a href="../../../../../tomee-9.0/pt/examples/moviefun-rest.html">moviefun-rest</a>, <a href="../../../../../tomee-9.0/pt/examples/jsonb-custom-serializer.html">jsonb-custom-serializer</a>, <a href="../../../../../tomee-9.0/pt/examples/jsonb-configuration.html">jsonb-configuration</a>, <a href="../../../../../tomee-9.0/pt/examples/jsf-managedBean-and-ejb.html">jsf-managedBean-and-ejb</a>, <a href="../../../../../tomee-9.0/pt/examples/jsf-cdi-and-ejb.html">jsf-cdi-and-ejb</a>, <a href="../../../../../tomee-9.0/pt/examples/jaxrs-json-provider-jettison.html">jaxrs-json-provider-jettison</a>, <a href="../../../../../tomee-9.0/pt/examples/injection-of-ejbs.html">injection-of-ejbs</a>, <a href="../../../../../tomee-9.0/pt/examples/dynamic-datasource-routing.html">dynamic-datasource-routing</a>, <a href="../../../../../tomee-9.0/pt/examples/dynamic-dao-implementation.html">dynamic-dao-implementation</a>, <a href="../../../../../tomee-9.0/pt/examples/datasource-versioning.html">datasource-versioning</a>, <a href="../../../../../tomee-9.0/pt/examples/cdi-request-scope.html">cdi-request-scope</a>, <a href="../../../../../tomee-9.0/pt/examples/cdi-basic.html">cdi-basic</a>, <a href="../../../../../tomee-9.0/pt/examples/cdi-application-scope.html">cdi-application-scope</a>, <a href="../../../../../tomee-9.0/pt/examples/bean-validation-design-by-contract.html">bean-validation-design-by-contract</a>, <a href="../../../../../tomee-9.0/pt/examples/arquillian-jpa.html">arquillian-jpa</a>, <a href="../../../../../tomee-9.0/pt/examples/applicationexception.html">applicationexception</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="annotation.type.optional.element.summary">
<!-- -->
</a>
<h3>Optional Element Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Optional Element and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../jakarta/ejb/Stateless.html#description--">description</a></span></code>
<div class="block">A string describing the stateless session bean.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../jakarta/ejb/Stateless.html#mappedName--">mappedName</a></span></code>
<div class="block">A product specific name(e.g.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../jakarta/ejb/Stateless.html#name--">name</a></span></code>
<div class="block">The ejb-name for this bean.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="annotation.type.element.detail">
<!-- -->
</a>
<h3>Element Detail</h3>
<a name="name--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>name</h4>
<pre>public abstract&nbsp;java.lang.String&nbsp;name</pre>
<div class="block">The ejb-name for this bean. Defaults to the unqualified name of the stateless session bean class.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <code>String</code> object.</dd>
</dl>
<dl>
<dt>Default:</dt>
<dd>""</dd>
</dl>
</li>
</ul>
</li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="mappedName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mappedName</h4>
<pre>public abstract&nbsp;java.lang.String&nbsp;mappedName</pre>
<div class="block">A product specific name(e.g. global JNDI name) that this session bean should be mapped to.
Application servers are not required to support any particular form or type of mapped name, nor the ability to use
mapped names. The mapped name is product-dependent and often installation-dependent. No use of a mapped name is
portable.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <code>String</code> object.</dd>
</dl>
<dl>
<dt>Default:</dt>
<dd>""</dd>
</dl>
</li>
</ul>
</li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="description--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>description</h4>
<pre>public abstract&nbsp;java.lang.String&nbsp;description</pre>
<div class="block">A string describing the stateless session bean.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <code>String</code> object.</dd>
</dl>
<dl>
<dt>Default:</dt>
<dd>""</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../jakarta/ejb/StatefulTimeout.html" title="annotation in jakarta.ejb"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../jakarta/ejb/TimedObject.html" title="interface in jakarta.ejb"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?jakarta/ejb/Stateless.html" target="_top">Frames</a></li>
<li><a href="Stateless.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Required&nbsp;|&nbsp;</li>
<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#annotation.type.element.detail">Element</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>