User: user57
Date: 01/08/13 22:38:48
Modified: src/main/org/jboss/ejb Container.java
Log:
o fixed typo & wrapped some javadocs to 80 cols
Revision Changes Path
1.55 +22 -20 jboss/src/main/org/jboss/ejb/Container.java
Index: Container.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/Container.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- Container.java 2001/08/14 03:31:34 1.54
+++ Container.java 2001/08/14 05:38:48 1.55
@@ -73,7 +73,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a>.
* @author <a href="[EMAIL PROTECTED]">Bill Burke</a>
- * @version $Revision: 1.54 $
+ * @version $Revision: 1.55 $
*
* <p><b>Revisions:</b>
*
@@ -469,17 +469,17 @@
// Begin DynamicMBean interface implementation
public Object getAttribute(String attribute)
throws AttributeNotFoundException,
- MBeanException,
- ReflectionException
+ MBeanException,
+ ReflectionException
{
return null;
}
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
- InvalidAttributeValueException,
- MBeanException,
- ReflectionException
+ InvalidAttributeValueException,
+ MBeanException,
+ ReflectionException
{
}
@@ -493,7 +493,8 @@
return null;
}
- /** Handle a operation invocation.
+ /**
+ * Handle a operation invocation.
*/
public Object invoke(String actionName, Object[] params, String[] signature)
throws MBeanException, ReflectionException
@@ -530,7 +531,7 @@
else if( actionName.equals("getHome") )
{
String className = this.getBeanMetaData().getHome();
- if( clasName != null )
+ if( className != null )
{
Class clazz = this.classLoader.loadClass(className);
value = clazz;
@@ -558,7 +559,7 @@
throw new MBeanException(new IllegalArgumentException("Unknown action:
"+actionName));
}
}
- catch(Exception e)
+ catch (Exception e)
{
log.error("invoke returned an exception", e);
throw new MBeanException(e, "invoke returned an exception");
@@ -571,17 +572,18 @@
return value;
}
- /** Build the container MBean information on attributes, contstructors,
operations,
- and notifications. Currently there are no attributes, no constructors, no
- notifications, and the following ops:
- <ul>
- <li>'home' -> invokeHome(MethodInvocation);</li>
- <li>'remote' -> invoke(MethodInvocation);</li>
- <li>'localHome' -> not implemented;</li>
- <li>'local' -> not implemented;</li>
- <li>'getHome' -> return EBJHome interface;</li>
- <li>'getRemote' -> return EJBObject interface</li>
- </ul>
+ /**
+ * Build the container MBean information on attributes, contstructors,
+ * operations, and notifications. Currently there are no attributes, no
+ * constructors, no notifications, and the following ops:
+ * <ul>
+ * <li>'home' -> invokeHome(MethodInvocation);</li>
+ * <li>'remote' -> invoke(MethodInvocation);</li>
+ * <li>'localHome' -> not implemented;</li>
+ * <li>'local' -> not implemented;</li>
+ * <li>'getHome' -> return EBJHome interface;</li>
+ * <li>'getRemote' -> return EJBObject interface</li>
+ * </ul>
*/
public MBeanInfo getMBeanInfo()
{
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development