blob: fb1a22d5392b5687ee2df5bdeb3c87301fd400c0 [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>EJBContainer</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="EJBContainer";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":9,"i2":9,"i3":6};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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>Prev&nbsp;Class</li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javax/ejb/embeddable/EJBContainer.html" target="_top">Frames</a></li>
<li><a href="EJBContainer.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>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</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">javax.ejb.embeddable</div>
<h2 title="Class EJBContainer" class="title">Class EJBContainer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>javax.ejb.embeddable.EJBContainer</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.AutoCloseable</dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">EJBContainer</span>
extends java.lang.Object
implements java.lang.AutoCloseable</pre>
<div class="block">Used to execute an EJB application in an embeddable container.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>EJB 3.1</dd>
<dt><span class="simpleTagLabel">Examples (en):</span></dt>
<dd><a href="../../../../../../tomee-8.0/examples/xa-datasource.html">xa-datasource</a>, <a href="../../../../../../tomee-8.0/examples/webservice-ws-with-resources-config.html">webservice-ws-with-resources-config</a>, <a href="../../../../../../tomee-8.0/examples/webservice-holder.html">webservice-holder</a>, <a href="../../../../../../tomee-8.0/examples/webservice-handlerchain.html">webservice-handlerchain</a>, <a href="../../../../../../tomee-8.0/examples/troubleshooting.html">troubleshooting</a>, <a href="../../../../../../tomee-8.0/examples/transaction-rollback.html">transaction-rollback</a>, <a href="../../../../../../tomee-8.0/examples/testing-transactions.html">testing-transactions</a>, <a href="../../../../../../tomee-8.0/examples/testing-transactions-bmt.html">testing-transactions-bmt</a>, <a href="../../../../../../tomee-8.0/examples/testing-security.html">testing-security</a>, <a href="../../../../../../tomee-8.0/examples/testing-security-meta.html">testing-security-meta</a>, <a href="../../../../../../tomee-8.0/examples/testing-security-4.html">testing-security-4</a>, <a href="../../../../../../tomee-8.0/examples/testing-security-3.html">testing-security-3</a>, <a href="../../../../../../tomee-8.0/examples/testing-security-2.html">testing-security-2</a>, <a href="../../../../../../tomee-8.0/examples/testcase-injection.html">testcase-injection</a>, <a href="../../../../../../tomee-8.0/examples/spring-data-proxy.html">spring-data-proxy</a>, <a href="../../../../../../tomee-8.0/examples/spring-data-proxy-meta.html">spring-data-proxy-meta</a>, <a href="../../../../../../tomee-8.0/examples/simple-webservice.html">simple-webservice</a>, <a href="../../../../../../tomee-8.0/examples/simple-webservice-without-interface.html">simple-webservice-without-interface</a>, <a href="../../../../../../tomee-8.0/examples/simple-stateless.html">simple-stateless</a>, <a href="../../../../../../tomee-8.0/examples/simple-stateless-callbacks.html">simple-stateless-callbacks</a>, <a href="../../../../../../tomee-8.0/examples/simple-stateful.html">simple-stateful</a>, <a href="../../../../../../tomee-8.0/examples/simple-stateful-callbacks.html">simple-stateful-callbacks</a>, <a href="../../../../../../tomee-8.0/examples/simple-singleton.html">simple-singleton</a>, <a href="../../../../../../tomee-8.0/examples/simple-mdb.html">simple-mdb</a>, <a href="../../../../../../tomee-8.0/examples/simple-mdb-with-descriptor.html">simple-mdb-with-descriptor</a>, <a href="../../../../../../tomee-8.0/examples/simple-mdb-and-cdi.html">simple-mdb-and-cdi</a>, <a href="../../../../../../tomee-8.0/examples/simple-cdi-interceptor.html">simple-cdi-interceptor</a>, <a href="../../../../../../tomee-8.0/examples/schedule-methods.html">schedule-methods</a>, <a href="../../../../../../tomee-8.0/examples/schedule-methods-meta.html">schedule-methods-meta</a>, <a href="../../../../../../tomee-8.0/examples/schedule-expression.html">schedule-expression</a>, <a href="../../../../../../tomee-8.0/examples/schedule-events.html">schedule-events</a>, <a href="../../../../../../tomee-8.0/examples/rest-on-ejb.html">rest-on-ejb</a>, <a href="../../../../../../tomee-8.0/examples/rest-example.html">rest-example</a>, <a href="../../../../../../tomee-8.0/examples/reload-persistence-unit-properties.html">reload-persistence-unit-properties</a>, <a href="../../../../../../tomee-8.0/examples/polling-parent.html">polling-parent</a>, <a href="../../../../../../tomee-8.0/examples/persistence-fragment.html">persistence-fragment</a>, <a href="../../../../../../tomee-8.0/examples/movies-complete.html">movies-complete</a>, <a href="../../../../../../tomee-8.0/examples/movies-complete-meta.html">movies-complete-meta</a>, <a href="../../../../../../tomee-8.0/examples/moviefun.html">moviefun</a>, <a href="../../../../../../tomee-8.0/examples/moviefun-rest.html">moviefun-rest</a>, <a href="../../../../../../tomee-8.0/examples/mbean-auto-registration.html">mbean-auto-registration</a>, <a href="../../../../../../tomee-8.0/examples/lookup-of-ejbs.txt">lookup-of-ejbs</a>, <a href="../../../../../../tomee-8.0/examples/lookup-of-ejbs-with-descriptor.html">lookup-of-ejbs-with-descriptor</a>, <a href="../../../../../../tomee-8.0/examples/jpa-hibernate.html">jpa-hibernate</a>, <a href="../../../../../../tomee-8.0/examples/jpa-enumerated.html">jpa-enumerated</a>, <a href="../../../../../../tomee-8.0/examples/jpa-eclipselink.html">jpa-eclipselink</a>, <a href="../../../../../../tomee-8.0/examples/injection-of-env-entry.html">injection-of-env-entry</a>, <a href="../../../../../../tomee-8.0/examples/injection-of-entitymanager.html">injection-of-entitymanager</a>, <a href="../../../../../../tomee-8.0/examples/injection-of-ejbs.html">injection-of-ejbs</a>, <a href="../../../../../../tomee-8.0/examples/injection-of-datasource.html">injection-of-datasource</a>, <a href="../../../../../../tomee-8.0/examples/injection-of-connectionfactory.html">injection-of-connectionfactory</a>, <a href="../../../../../../tomee-8.0/examples/dynamic-proxy-to-access-mbean.html">dynamic-proxy-to-access-mbean</a>, <a href="../../../../../../tomee-8.0/examples/dynamic-implementation.html">dynamic-implementation</a>, <a href="../../../../../../tomee-8.0/examples/dynamic-datasource-routing.html">dynamic-datasource-routing</a>, <a href="../../../../../../tomee-8.0/examples/dynamic-dao-implementation.html">dynamic-dao-implementation</a>, <a href="../../../../../../tomee-8.0/examples/decorators.html">decorators</a>, <a href="../../../../../../tomee-8.0/examples/datasource-ciphered-password.html">datasource-ciphered-password</a>, <a href="../../../../../../tomee-8.0/examples/custom-injection.html">custom-injection</a>, <a href="../../../../../../tomee-8.0/examples/connector-war.html">connector-war</a>, <a href="../../../../../../tomee-8.0/examples/component-interfaces.html">component-interfaces</a>, <a href="../../../../../../tomee-8.0/examples/cdi-request-scope.html">cdi-request-scope</a>, <a href="../../../../../../tomee-8.0/examples/cdi-qualifier.html">cdi-qualifier</a>, <a href="../../../../../../tomee-8.0/examples/cdi-produces-field.html">cdi-produces-field</a>, <a href="../../../../../../tomee-8.0/examples/cdi-produces-disposes.html">cdi-produces-disposes</a>, <a href="../../../../../../tomee-8.0/examples/cdi-interceptors.html">cdi-interceptors</a>, <a href="../../../../../../tomee-8.0/examples/cdi-events.html">cdi-events</a>, <a href="../../../../../../tomee-8.0/examples/cdi-dynamic-inject.html">cdi-dynamic-inject</a>, <a href="../../../../../../tomee-8.0/examples/cdi-basic.html">cdi-basic</a>, <a href="../../../../../../tomee-8.0/examples/cdi-application-scope.html">cdi-application-scope</a>, <a href="../../../../../../tomee-8.0/examples/cdi-alternative-and-stereotypes.html">cdi-alternative-and-stereotypes</a>, <a href="../../../../../../tomee-8.0/examples/bean-validation-design-by-contract.html">bean-validation-design-by-contract</a>, <a href="../../../../../../tomee-8.0/examples/async-postconstruct.html">async-postconstruct</a>, <a href="../../../../../../tomee-8.0/examples/async-methods.html">async-methods</a>, <a href="../../../../../../tomee-8.0/examples/alternate-descriptors.html">alternate-descriptors</a>, <a href="../../../../../../tomee-8.0/examples/access-timeout.html">access-timeout</a>, <a href="../../../../../../tomee-8.0/examples/access-timeout-meta.html">access-timeout-meta</a></dd>
<dt><span class="simpleTagLabel">Examples (es):</span></dt>
<dd><a href="../../../../../../tomee-8.0/es/examples/simple-singleton.html">simple-singleton</a>, <a href="../../../../../../tomee-8.0/es/examples/jpa-hibernate.html">jpa-hibernate</a>, <a href="../../../../../../tomee-8.0/es/examples/injection-of-env-entry.html">injection-of-env-entry</a>, <a href="../../../../../../tomee-8.0/es/examples/injection-of-entitymanager.html">injection-of-entitymanager</a>, <a href="../../../../../../tomee-8.0/es/examples/injection-of-ejbs.html">injection-of-ejbs</a>, <a href="../../../../../../tomee-8.0/es/examples/cdi-application-scope.html">cdi-application-scope</a>, <a href="../../../../../../tomee-8.0/es/examples/async-methods.html">async-methods</a>, <a href="../../../../../../tomee-8.0/es/examples/alternate-descriptors.html">alternate-descriptors</a>, <a href="../../../../../../tomee-8.0/es/examples/access-timeout.html">access-timeout</a>, <a href="../../../../../../tomee-8.0/es/examples/access-timeout-meta.html">access-timeout-meta</a></dd>
<dt><span class="simpleTagLabel">Examples (pt):</span></dt>
<dd><a href="../../../../../../tomee-8.0/pt/examples/xa-datasource.html">xa-datasource</a>, <a href="../../../../../../tomee-8.0/pt/examples/webservice-ws-with-resources-config.html">webservice-ws-with-resources-config</a>, <a href="../../../../../../tomee-8.0/pt/examples/webservice-holder.html">webservice-holder</a>, <a href="../../../../../../tomee-8.0/pt/examples/webservice-handlerchain.html">webservice-handlerchain</a>, <a href="../../../../../../tomee-8.0/pt/examples/testing-security.html">testing-security</a>, <a href="../../../../../../tomee-8.0/pt/examples/spring-data-proxy.html">spring-data-proxy</a>, <a href="../../../../../../tomee-8.0/pt/examples/spring-data-proxy-meta.html">spring-data-proxy-meta</a>, <a href="../../../../../../tomee-8.0/pt/examples/simple-cdi-interceptor.html">simple-cdi-interceptor</a>, <a href="../../../../../../tomee-8.0/pt/examples/schedule-events.html">schedule-events</a>, <a href="../../../../../../tomee-8.0/pt/examples/polling-parent.html">polling-parent</a>, <a href="../../../../../../tomee-8.0/pt/examples/persistence-fragment.html">persistence-fragment</a>, <a href="../../../../../../tomee-8.0/pt/examples/moviefun-rest.html">moviefun-rest</a>, <a href="../../../../../../tomee-8.0/pt/examples/mbean-auto-registration.html">mbean-auto-registration</a>, <a href="../../../../../../tomee-8.0/pt/examples/jpa-hibernate.html">jpa-hibernate</a>, <a href="../../../../../../tomee-8.0/pt/examples/jpa-enumerated.html">jpa-enumerated</a>, <a href="../../../../../../tomee-8.0/pt/examples/jpa-eclipselink.html">jpa-eclipselink</a>, <a href="../../../../../../tomee-8.0/pt/examples/injection-of-env-entry.html">injection-of-env-entry</a>, <a href="../../../../../../tomee-8.0/pt/examples/injection-of-entitymanager.html">injection-of-entitymanager</a>, <a href="../../../../../../tomee-8.0/pt/examples/injection-of-ejbs.html">injection-of-ejbs</a>, <a href="../../../../../../tomee-8.0/pt/examples/dynamic-proxy-to-access-mbean.html">dynamic-proxy-to-access-mbean</a>, <a href="../../../../../../tomee-8.0/pt/examples/dynamic-datasource-routing.html">dynamic-datasource-routing</a>, <a href="../../../../../../tomee-8.0/pt/examples/dynamic-dao-implementation.html">dynamic-dao-implementation</a>, <a href="../../../../../../tomee-8.0/pt/examples/datasource-ciphered-password.html">datasource-ciphered-password</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-request-scope.html">cdi-request-scope</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-qualifier.html">cdi-qualifier</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-produces-field.html">cdi-produces-field</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-produces-disposes.html">cdi-produces-disposes</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-interceptors.html">cdi-interceptors</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-events.html">cdi-events</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-dynamic-inject.html">cdi-dynamic-inject</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-basic.html">cdi-basic</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-application-scope.html">cdi-application-scope</a>, <a href="../../../../../../tomee-8.0/pt/examples/cdi-alternative-and-stereotypes.html">cdi-alternative-and-stereotypes</a>, <a href="../../../../../../tomee-8.0/pt/examples/bean-validation-design-by-contract.html">bean-validation-design-by-contract</a>, <a href="../../../../../../tomee-8.0/pt/examples/async-postconstruct.html">async-postconstruct</a>, <a href="../../../../../../tomee-8.0/pt/examples/async-methods.html">async-methods</a>, <a href="../../../../../../tomee-8.0/pt/examples/alternate-descriptors.html">alternate-descriptors</a>, <a href="../../../../../../tomee-8.0/pt/examples/access-timeout.html">access-timeout</a>, <a href="../../../../../../tomee-8.0/pt/examples/access-timeout-meta.html">access-timeout-meta</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/ejb/embeddable/EJBContainer.html#APP_NAME">APP_NAME</a></span></code>
<div class="block">Standard property name for specifying the application name of
the EJB modules executing within the embeddable container.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/ejb/embeddable/EJBContainer.html#MODULES">MODULES</a></span></code>
<div class="block">Standard property name for specifying the set of modules to be
initialized.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/ejb/embeddable/EJBContainer.html#PROVIDER">PROVIDER</a></span></code>
<div class="block">Standard property name for specifying the embeddable container implementation bootstrap
class.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javax/ejb/embeddable/EJBContainer.html#EJBContainer--">EJBContainer</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/ejb/embeddable/EJBContainer.html#close--">close</a></span>()</code>
<div class="block">Shutdown an embeddable EJBContainer instance.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../javax/ejb/embeddable/EJBContainer.html" title="class in javax.ejb.embeddable">EJBContainer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/ejb/embeddable/EJBContainer.html#createEJBContainer--">createEJBContainer</a></span>()</code>
<div class="block">Create and initialize an embeddable EJB container.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../javax/ejb/embeddable/EJBContainer.html" title="class in javax.ejb.embeddable">EJBContainer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/ejb/embeddable/EJBContainer.html#createEJBContainer-java.util.Map-">createEJBContainer</a></span>(java.util.Map&lt;?,?&gt;&nbsp;properties)</code>
<div class="block">Create and initialize an embeddable EJB container with a
set of configuration properties.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>abstract javax.naming.Context</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/ejb/embeddable/EJBContainer.html#getContext--">getContext</a></span>()</code>
<div class="block">Retrieve a naming context for looking up references to session beans
executing in the embeddable container.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="PROVIDER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROVIDER</h4>
<pre>public static final&nbsp;java.lang.String PROVIDER</pre>
<div class="block">Standard property name for specifying the embeddable container implementation bootstrap
class. Property value is a fully-qualified class name.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.ejb.embeddable.EJBContainer.PROVIDER">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="MODULES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MODULES</h4>
<pre>public static final&nbsp;java.lang.String MODULES</pre>
<div class="block">Standard property name for specifying the set of modules to be
initialized. Property value is one of the following :
<ul>
<li> a single module name String from the JVM classpath
<li> a String[] array of module names from the JVM classpath
<li> a java.io.File representing an ejb-jar or exploded ejb-jar directory
<li> a java.io.File array, each element of which represents an ejb-jar
or exploded ejb-jar directory
</ul></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.ejb.embeddable.EJBContainer.MODULES">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APP_NAME">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>APP_NAME</h4>
<pre>public static final&nbsp;java.lang.String APP_NAME</pre>
<div class="block">Standard property name for specifying the application name of
the EJB modules executing within the embeddable container. If
specified, the property value applies to the
<code>&#060;app-name&#062;</code> portion of the portable
global JNDI name syntax. If this property is not specified, the
<code>&#060;app-name&#062;</code> portion of the portable
global JNDI name syntax does not apply.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.ejb.embeddable.EJBContainer.APP_NAME">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="EJBContainer--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EJBContainer</h4>
<pre>public&nbsp;EJBContainer()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createEJBContainer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEJBContainer</h4>
<pre>public static&nbsp;<a href="../../../javax/ejb/embeddable/EJBContainer.html" title="class in javax.ejb.embeddable">EJBContainer</a>&nbsp;createEJBContainer()</pre>
<div class="block">Create and initialize an embeddable EJB container. JVM classpath is
searched for all ejb-jars or exploded ejb-jars in directory format.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>EJBContainer instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../javax/ejb/EJBException.html" title="class in javax.ejb">EJBException</a></code> - Thrown if the container or application
could not be successfully initialized.</dd>
</dl>
</li>
</ul>
<a name="createEJBContainer-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEJBContainer</h4>
<pre>public static&nbsp;<a href="../../../javax/ejb/embeddable/EJBContainer.html" title="class in javax.ejb.embeddable">EJBContainer</a>&nbsp;createEJBContainer(java.util.Map&lt;?,?&gt;&nbsp;properties)</pre>
<div class="block">Create and initialize an embeddable EJB container with a
set of configuration properties.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>properties</code> - Spec-defined and/or vendor-specific
properties. The spec reserves the prefix
<code>"javax.ejb."</code> for spec-defined properties.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>EJBContainer instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../javax/ejb/EJBException.html" title="class in javax.ejb">EJBException</a></code> - Thrown if the container or application
could not be successfully initialized.</dd>
</dl>
</li>
</ul>
<a name="getContext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public abstract&nbsp;javax.naming.Context&nbsp;getContext()</pre>
<div class="block">Retrieve a naming context for looking up references to session beans
executing in the embeddable container.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>naming context</dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>close</h4>
<pre>public abstract&nbsp;void&nbsp;close()</pre>
<div class="block">Shutdown an embeddable EJBContainer instance. Embeddable applications
should always call <code>close()</code> in order to free up the resources
associated with the embeddable container.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>close</code>&nbsp;in interface&nbsp;<code>java.lang.AutoCloseable</code></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>Prev&nbsp;Class</li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javax/ejb/embeddable/EJBContainer.html" target="_top">Frames</a></li>
<li><a href="EJBContainer.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>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>