Skip to content

Commit

Permalink
rename for JSFApiAbstraction to JsfApiAbstraction for consistency
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2631 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
mojavelinux committed Apr 27, 2009
1 parent af9dac5 commit d3ec4b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Expand Up @@ -33,7 +33,7 @@
import org.jboss.webbeans.introspector.AnnotatedMethod;
import org.jboss.webbeans.introspector.WrappedAnnotatedField;
import org.jboss.webbeans.introspector.WrappedAnnotatedMethod;
import org.jboss.webbeans.jsf.JSFApiAbstraction;
import org.jboss.webbeans.jsf.JsfApiAbstraction;
import org.jboss.webbeans.log.LogProvider;
import org.jboss.webbeans.log.Logging;
import org.jboss.webbeans.persistence.spi.EntityDiscovery;
Expand Down Expand Up @@ -289,7 +289,7 @@ private boolean isTypeSimpleWebBean(AnnotatedClass<?> clazz)
{
Class<?> rawType = clazz.getRawType();
EJBApiAbstraction ejbApiAbstraction = manager.getServices().get(EJBApiAbstraction.class);
JSFApiAbstraction jsfApiAbstraction = manager.getServices().get(JSFApiAbstraction.class);
JsfApiAbstraction jsfApiAbstraction = manager.getServices().get(JsfApiAbstraction.class);
ServletApiAbstraction servletApiAbstraction = manager.getServices().get(ServletApiAbstraction.class);
// TODO: check 3.2.1 for more rules!!!!!!
return !Reflections.isAbstract(rawType) &&
Expand Down
Expand Up @@ -50,7 +50,7 @@
import org.jboss.webbeans.ejb.EjbDescriptorCache;
import org.jboss.webbeans.ejb.spi.EjbServices;
import org.jboss.webbeans.introspector.AnnotatedClass;
import org.jboss.webbeans.jsf.JSFApiAbstraction;
import org.jboss.webbeans.jsf.JsfApiAbstraction;
import org.jboss.webbeans.literal.DeployedLiteral;
import org.jboss.webbeans.literal.InitializedLiteral;
import org.jboss.webbeans.log.Log;
Expand Down Expand Up @@ -126,7 +126,7 @@ private void addImplementationServices()
{
ResourceLoader resourceLoader = getServices().get(ResourceLoader.class);
getServices().add(EJBApiAbstraction.class, new EJBApiAbstraction(resourceLoader));
getServices().add(JSFApiAbstraction.class, new JSFApiAbstraction(resourceLoader));
getServices().add(JsfApiAbstraction.class, new JsfApiAbstraction(resourceLoader));
getServices().add(PersistenceApiAbstraction.class, new PersistenceApiAbstraction(resourceLoader));
getServices().add(ServletApiAbstraction.class, new ServletApiAbstraction(resourceLoader));
// Temporary workaround to provide context for building annotated class
Expand Down
Expand Up @@ -27,13 +27,13 @@
* @author Pete Muir
*
*/
public class JSFApiAbstraction extends ApiAbstraction implements Service
public class JsfApiAbstraction extends ApiAbstraction implements Service
{

// An UI component
public final Class<?> UICOMPONENT_CLASS;

public JSFApiAbstraction(ResourceLoader resourceLoader)
public JsfApiAbstraction(ResourceLoader resourceLoader)
{
super(resourceLoader);
this.UICOMPONENT_CLASS = classForName("javax.faces.component.UIComponent");
Expand Down

0 comments on commit d3ec4b7

Please sign in to comment.