[jboss-cvs] JBossAS SVN: r64863 - branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 24 15:23:58 EDT 2007
Author: bdecoste
Date: 2007-08-24 15:23:58 -0400 (Fri, 24 Aug 2007)
New Revision: 64863
Modified:
branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/EJBContainer.java
Log:
removed unused getInvokedInterface(..)
Modified: branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/EJBContainer.java
===================================================================
--- branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/EJBContainer.java 2007-08-24 19:22:55 UTC (rev 64862)
+++ branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/EJBContainer.java 2007-08-24 19:23:58 UTC (rev 64863)
@@ -760,43 +760,6 @@
throw new IllegalStateException("Not implemented");
}
- protected Object getInvokedInterface(Method method)
- {
- Remote remoteAnnotation = (Remote) resolveAnnotation(Remote.class);
- if (remoteAnnotation != null)
- {
- Class[] remotes = remoteAnnotation.value();
- for (int i = 0; i < remotes.length; ++i)
- {
- try
- {
- remotes[i].getMethod(method.getName(), method.getParameterTypes());
- return remotes[i];
- }
- catch (NoSuchMethodException e)
- {
- }
- }
- }
-
- Local localAnnotation = (Local) resolveAnnotation(Local.class);
- if (localAnnotation != null)
- {
- Class[] locals = localAnnotation.value();
- for (int i = 0; i < locals.length; ++i)
- {
- Method[] interfaceMethods = locals[i].getMethods();
- for (int j = 0; j < interfaceMethods.length; ++j)
- {
- if (interfaceMethods[j].equals(method))
- return locals[i];
- }
- }
- }
-
- return null;
- }
-
// todo these method overrides for aop are for performance reasons
private Class loadPublicAnnotation(String annotation)
{
More information about the jboss-cvs-commits
mailing list