Author: dan.j.allen
Date: 2009-11-03 16:47:49 -0500 (Tue, 03 Nov 2009)
New Revision: 4637
Modified:
core/trunk/impl/src/main/java/org/jboss/weld/bean/SessionBean.java
Log:
fix misspelled enterprise in log message
Modified: core/trunk/impl/src/main/java/org/jboss/weld/bean/SessionBean.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/bean/SessionBean.java 2009-11-03 21:46:40
UTC (rev 4636)
+++ core/trunk/impl/src/main/java/org/jboss/weld/bean/SessionBean.java 2009-11-03 21:47:49
UTC (rev 4637)
@@ -245,11 +245,11 @@
{
if (ejbDescriptor.isStateless() && !isDependent())
{
- throw new DefinitionException("Scope " + getScope() + " is not
allowed on stateless enterpise beans for " + getType() + ". Only @Dependent is
allowed on stateless enterprise beans");
+ throw new DefinitionException("Scope " + getScope() + " is not
allowed on stateless enterprise beans for " + getType() + ". Only @Dependent is
allowed on stateless enterprise beans");
}
if (ejbDescriptor.isSingleton() && !(isDependent() ||
getScope().equals(ApplicationScoped.class)))
{
- throw new DefinitionException("Scope " + getScope() + " is not
allowed on singleton enterpise beans for " + getType() + ". Only @Dependent or
@ApplicationScoped is allowed on singleton enterprise beans");
+ throw new DefinitionException("Scope " + getScope() + " is not
allowed on singleton enterprise beans for " + getType() + ". Only @Dependent or
@ApplicationScoped is allowed on singleton enterprise beans");
}
}
@@ -310,8 +310,8 @@
{
throw new IllegalArgumentException("Cannot destroy session bean instance
not created by the container");
}
- EnterpriseBeanInstance enterpiseBeanInstance = (EnterpriseBeanInstance) instance;
- enterpiseBeanInstance.destroy(Marker.INSTANCE, this, creationalContext);
+ EnterpriseBeanInstance enterpriseBeanInstance = (EnterpriseBeanInstance) instance;
+ enterpriseBeanInstance.destroy(Marker.INSTANCE, this, creationalContext);
creationalContext.release();
}
Show replies by date