openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1680103 - in /openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi: ./ adaptor/ plugins/
Date Mon, 18 May 2015 21:17:06 GMT
Author: struberg
Date: Mon May 18 21:17:06 2015
New Revision: 1680103

URL: http://svn.apache.org/r1680103
Log:
remove unecessary public modifiers from interfaces

Just to make Sonar happy ;)

Modified:
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/BDABeansXmlScanner.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContainerLifecycle.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/JNDIService.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ResourceInjectionService.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ScannerService.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SecurityService.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SingletonService.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/TransactionService.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ValidatorService.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/adaptor/ELAdaptor.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansEjbPlugin.java
    openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansPlugin.java

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/BDABeansXmlScanner.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/BDABeansXmlScanner.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/BDABeansXmlScanner.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/BDABeansXmlScanner.java
Mon May 18 21:17:06 2015
@@ -34,8 +34,8 @@ public interface BDABeansXmlScanner
      * @return T - Interceptor class successfully stored; F - Interceptor class
      *         already exists and was not stored.
      */
-    public boolean addInterceptor(Class<?> interceptorClass,
-            String beansXMLFilePath);
+    boolean addInterceptor(Class<?> interceptorClass,
+                           String beansXMLFilePath);
     
     /**
      * 
@@ -43,7 +43,7 @@ public interface BDABeansXmlScanner
      * @return a non-null set of Interceptors defined by the specified
      *         beansXMLFilePath
      */
-    public Set<Class<?>> getInterceptors(String beansXMLFilePath);
+    Set<Class<?>> getInterceptors(String beansXMLFilePath);
     
     /**
      * 
@@ -51,7 +51,7 @@ public interface BDABeansXmlScanner
      * @return a non-null set of Decorators defined by the specified
      *         beansXMLFilePath
      */
-    public Set<Class<?>> getDecorators(String beansXMLFilePath);
+    Set<Class<?>> getDecorators(String beansXMLFilePath);
     
     /**
      * Stores the beans.xml a Decorator class is defined in
@@ -59,7 +59,7 @@ public interface BDABeansXmlScanner
      * @return T - Decorator class successfully stored; F - Decorator class
      *         already exists and was not stored.
      */
-    public boolean addDecorator(Class<?> decoratorClass, String beansXMLFilePath);
+    boolean addDecorator(Class<?> decoratorClass, String beansXMLFilePath);
     
     /**
      * Stores the beans.xml an Alternative class is defined in
@@ -67,8 +67,8 @@ public interface BDABeansXmlScanner
      * @return T - Alternative class successfully stored; F - Alternative class
      *         already exists and was not stored.
      */
-    public boolean addAlternative(Class<?> alternativeClass,
-            String beansXMLFilePath);
+    boolean addAlternative(Class<?> alternativeClass,
+                           String beansXMLFilePath);
     
     /**
      * Stores the beans.xml a Stereotype class is defined in
@@ -76,8 +76,8 @@ public interface BDABeansXmlScanner
      * @return T - Stereotype class successfully stored; F - Stereotype class
      *         already exists and was not stored.
      */
-    public boolean addStereoType(Class<? extends Annotation> stereoTypeClass,
-            String beansXMLFilePath);
+    boolean addStereoType(Class<? extends Annotation> stereoTypeClass,
+                          String beansXMLFilePath);
     
     /**
      * 
@@ -85,7 +85,7 @@ public interface BDABeansXmlScanner
      * @return a non-null set of Alternatives defined by the specified
      *         beansXMLFilePath
      */
-    public Set<Class<?>> getAlternatives(String beansXMLFilePath);
+    Set<Class<?>> getAlternatives(String beansXMLFilePath);
     
     /**
      * 
@@ -93,7 +93,7 @@ public interface BDABeansXmlScanner
      * @return a non-null set of Stereotypes defined by the specified
      *         beansXMLFilePath
      */
-    public Set<Class<? extends Annotation>> getStereotypes(
+    Set<Class<? extends Annotation>> getStereotypes(
             String beansXMLFilePath);
     
     /**
@@ -103,7 +103,7 @@ public interface BDABeansXmlScanner
      * @return A String representing the file path to the beans.xml of the
      *         specified class's BDA
      */
-    public String getBeansXml(Class<?> class1);
+    String getBeansXml(Class<?> class1);
     
     /**
      * 
@@ -112,6 +112,6 @@ public interface BDABeansXmlScanner
      * @param beansXmlFilePath
      *            - file path to beans.xml of BDA
      */
-    public void setBeansXml(Class<?> class1, String beansXmlFilePath);
+    void setBeansXml(Class<?> class1, String beansXmlFilePath);
 
 }
\ No newline at end of file

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContainerLifecycle.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContainerLifecycle.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContainerLifecycle.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContainerLifecycle.java
Mon May 18 21:17:06 2015
@@ -43,7 +43,7 @@ public interface ContainerLifecycle
      * </p>
      * @param properties any properties
      */
-    public void initApplication(Properties properties);
+    void initApplication(Properties properties);
     
     /**
      * Starts container. It discovers all beans
@@ -70,7 +70,7 @@ public interface ContainerLifecycle
      *
      * @param startupObject any startup object.
      */
-    public void startApplication(Object startupObject);
+    void startApplication(Object startupObject);
         
     /**
      * <p>
@@ -84,14 +84,14 @@ public interface ContainerLifecycle
      * </p>
      * @param endObject any object provided by application implementor. This can be a ServletContext,
etc
      */
-    public void stopApplication(Object endObject);
+    void stopApplication(Object endObject);
     
     /**
      * Get the underlying {@link BeanManager} instance for the current application.
      * There is 1-1 correspondence between a bean manager and a deployed (web-) application.
      * @return deployment {@link BeanManager} instance
      */
-    public BeanManager getBeanManager();
+    BeanManager getBeanManager();
     
     /**
      * Gets container's context service implementation.
@@ -99,5 +99,5 @@ public interface ContainerLifecycle
      *
      * @return container contexts service
      */
-    public ContextsService getContextService();
+    ContextsService getContextService();
 }

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/JNDIService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/JNDIService.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/JNDIService.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/JNDIService.java
Mon May 18 21:17:06 2015
@@ -29,11 +29,11 @@ package org.apache.webbeans.spi;
 public interface JNDIService
 {
     /**JMS Connection Factory JNDI Name*/
-    public static final String JMS_CONNECTION_FACTORY_JNDI_KEY
+    String JMS_CONNECTION_FACTORY_JNDI_KEY
             = "org.apache.webbeans.spi.JNDIService.jmsConnectionFactoryJndi";
     
     /**Default value*/
-    public static final String JMS_CONNECTION_FACTORY_JNDI_DEFAULT_VALUE = "ConnectionFactory";
+    String JMS_CONNECTION_FACTORY_JNDI_DEFAULT_VALUE = "ConnectionFactory";
     
     /**
      * Bind the object with the given name to the JNDI environment
@@ -42,14 +42,14 @@ public interface JNDIService
      * @param object
      * @throws WebBeansException on any internal error
      */
-    public abstract void bind(String name, Object object);
+    void bind(String name, Object object);
 
     /**
      * Unbind and free the object with the given name from the JNDI environment
      * @param name
      * @throws WebBeansException on any internal error
      */
-    public abstract void unbind(String name);
+    void unbind(String name);
 
     /**
      * Get the object bound to the given name from the JNDI context.   
@@ -58,6 +58,6 @@ public interface JNDIService
      * @return the bound object or <code>null</code> if nothing bound.
      * @throws WebBeansException on any internal error
      */
-    public abstract <T> T lookup(String name, Class<? extends T> expectedClass);
+    <T> T lookup(String name, Class<? extends T> expectedClass);
 
 }
\ No newline at end of file

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ResourceInjectionService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ResourceInjectionService.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ResourceInjectionService.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ResourceInjectionService.java
Mon May 18 21:17:06 2015
@@ -48,7 +48,7 @@ public interface ResourceInjectionServic
      * </p>
      * @param managedBeanInstance managed bean instance
      */
-    public void injectJavaEEResources(Object managedBeanInstance);
+    void injectJavaEEResources(Object managedBeanInstance);
     
     /**
      * Gets resource for the given resource reference.
@@ -70,7 +70,7 @@ public interface ResourceInjectionServic
      * @param resourceReference
      * @return resource for the given resource reference
      */
-    public <X,T extends Annotation> X getResourceReference(ResourceReference<X,T>
resourceReference); 
+    <X,T extends Annotation> X getResourceReference(ResourceReference<X, T> resourceReference);
     
     /**
      * Any clear functionality.
@@ -79,17 +79,17 @@ public interface ResourceInjectionServic
      * may clear its caches or any other useful functionality.
      * </p>
      */
-    public void clear();
+    void clear();
 
     /**
      * delegation of serialization behavior
      */
-    public <T> void writeExternal(Bean<T> bean, T actualResource, ObjectOutput
out) throws IOException;
+    <T> void writeExternal(Bean<T> bean, T actualResource, ObjectOutput out)
throws IOException;
 
     /**
      * delegation of serialization behavior
      */
-    public <T> T readExternal(Bean<T> bean, ObjectInput out) throws IOException,
+    <T> T readExternal(Bean<T> bean, ObjectInput out) throws IOException,
             ClassNotFoundException;
         
 }

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ScannerService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ScannerService.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ScannerService.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ScannerService.java
Mon May 18 21:17:06 2015
@@ -41,12 +41,12 @@ public interface ScannerService
      * required by the implementation.
      * @param object initialization object
      */
-    public void init(Object object);
+    void init(Object object);
     
     /**
      * Perform the actual class scanning.
      */
-    public void scan();
+    void scan();
 
 
     /**
@@ -54,7 +54,7 @@ public interface ScannerService
      * scan is not needed anymore and the ScannerService might free up
      * resources.
      */
-    public void release();
+    void release();
 
     
     /**
@@ -64,14 +64,14 @@ public interface ScannerService
      * or the base URL for the JAR if it is an 'implicit bean archive'.
      * @return the URL of the beans.xml files.
      */
-    public Set<URL> getBeanXmls();
+    Set<URL> getBeanXmls();
     
     /**
      * Gets beans classes that are found in the
      * deployment archives. 
      * @return bean classes
      */
-    public Set<Class<?>> getBeanClasses();
+    Set<Class<?>> getBeanClasses();
 
     /**
      * Indicates if BDABeansXmlScanner is available. This method 
@@ -81,7 +81,7 @@ public interface ScannerService
      * @return T - BDABeansXmlScanner is available and enabled;
      * F - No BDABeansXmlScanner is available or it is disabled
      */
-    public boolean isBDABeansXmlScanningEnabled();    
+    boolean isBDABeansXmlScanningEnabled();
     
     /**
      * Gets BDABeansXMLScanner used to determine the beans.xml 
@@ -91,5 +91,5 @@ public interface ScannerService
      * contained in an application.
      * @return null or reference to BDABeansXMLScanner
      */
-    public BDABeansXmlScanner getBDABeansXmlScanner();
+    BDABeansXmlScanner getBDABeansXmlScanner();
 }

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SecurityService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SecurityService.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SecurityService.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SecurityService.java
Mon May 18 21:17:06 2015
@@ -45,72 +45,72 @@ public interface SecurityService
      * Gets the current caller identity.
      * @return current caller identity or <code>null</code> if none provided.
      */
-    public Principal getCurrentPrincipal();
+    Principal getCurrentPrincipal();
 
     /**
      * @see Class#getDeclaredConstructor(Class[])
      */
-    public <T> Constructor<T> doPrivilegedGetDeclaredConstructor(Class<T>
clazz, Class<?>... parameterTypes);
+    <T> Constructor<T> doPrivilegedGetDeclaredConstructor(Class<T> clazz,
Class<?>... parameterTypes);
 
     /**
      * @see Class#getDeclaredConstructor(Class[])
      */
-    public <T> Constructor<T> doPrivilegedGetConstructor(Class<T> clazz,
Class<?>... parameterTypes);
+    <T> Constructor<T> doPrivilegedGetConstructor(Class<T> clazz, Class<?>...
parameterTypes);
 
     /**
      * @see Class#getDeclaredConstructors()
      */
-    public <T> Constructor<?>[] doPrivilegedGetDeclaredConstructors(Class<T>
clazz);
+    <T> Constructor<?>[] doPrivilegedGetDeclaredConstructors(Class<T> clazz);
 
     /**
      * @see Class#getDeclaredMethod(String, Class[])
      */
-    public <T> Method doPrivilegedGetDeclaredMethod(Class<T> clazz, String name,
Class<?>... parameterTypes);
+    <T> Method doPrivilegedGetDeclaredMethod(Class<T> clazz, String name, Class<?>...
parameterTypes);
 
     /**
      * @see Class#getDeclaredMethods()
      */
-    public <T> Method[] doPrivilegedGetDeclaredMethods(Class<T> clazz);
+    <T> Method[] doPrivilegedGetDeclaredMethods(Class<T> clazz);
 
     /**
      * @see Class#getDeclaredField(String)
      */
-    public <T> Field doPrivilegedGetDeclaredField(Class<T> clazz, String name);
+    <T> Field doPrivilegedGetDeclaredField(Class<T> clazz, String name);
 
     /**
      * @see Class#getDeclaredFields()
      */
-    public <T> Field[] doPrivilegedGetDeclaredFields(Class<T> clazz);
+    <T> Field[] doPrivilegedGetDeclaredFields(Class<T> clazz);
 
     /**
      * @see AccessibleObject#setAccessible(boolean)
      */
-    public void doPrivilegedSetAccessible(AccessibleObject obj, boolean flag);
+    void doPrivilegedSetAccessible(AccessibleObject obj, boolean flag);
 
     /**
      * @see AccessibleObject#isAccessible()
      */
-    public boolean doPrivilegedIsAccessible(AccessibleObject obj);
+    boolean doPrivilegedIsAccessible(AccessibleObject obj);
 
     /**
      * @see Class#newInstance()
      */
-    public <T> T doPrivilegedObjectCreate(Class<T> clazz)
+    <T> T doPrivilegedObjectCreate(Class<T> clazz)
     throws PrivilegedActionException, IllegalAccessException, InstantiationException;
 
     /**
      * @see Class#
      */
-    public void doPrivilegedSetSystemProperty(String propertyName, String value);
+    void doPrivilegedSetSystemProperty(String propertyName, String value);
 
     /**
      * @see System#getProperty(String, String)
      */
-    public String doPrivilegedGetSystemProperty(String propertyName, String defaultValue);
+    String doPrivilegedGetSystemProperty(String propertyName, String defaultValue);
 
     /**
      * @see System#getProperties()
      */
-    public Properties doPrivilegedGetSystemProperties();
+    Properties doPrivilegedGetSystemProperties();
 
 }

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SingletonService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SingletonService.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SingletonService.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/SingletonService.java
Mon May 18 21:17:06 2015
@@ -33,12 +33,12 @@ public interface SingletonService<T>
      * @param key instance key
      * @return instance
      */
-    public T get(Object key);
+    T get(Object key);
     
     /**
      * Any clean activity.
      * @param key instance key
      */
-    public void clear(Object key);
+    void clear(Object key);
     
 }

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/TransactionService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/TransactionService.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/TransactionService.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/TransactionService.java
Mon May 18 21:17:06 2015
@@ -34,19 +34,19 @@ public interface TransactionService
      * Get {@link TransactionManager} instance from container. 
      * @return the TransactionManager or <code>null</code> if none is registered.
      */
-    public TransactionManager getTransactionManager();
+    TransactionManager getTransactionManager();
 
     /**
      * Get the transaction context of the calling thread
      * @return the Transaction or <code>null</code> if no TransactionManager
is used.
      */
-    public Transaction getTransaction();
+    Transaction getTransaction();
     
     /**
      * Gets user transaction instance.
      * @return user transaction object
      */
-    public UserTransaction getUserTransaction();
+    UserTransaction getUserTransaction();
     
     /**
      * Register transaction synch.
@@ -54,7 +54,7 @@ public interface TransactionService
      * @param observer observer 
      * @param event event
      */
-    public void registerTransactionSynchronization(TransactionPhase phase,
-                                                   ObserverMethod<? super Object> observer,
-                                                   Object event) throws Exception;
+    void registerTransactionSynchronization(TransactionPhase phase,
+                                            ObserverMethod<? super Object> observer,
+                                            Object event) throws Exception;
 }
\ No newline at end of file

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ValidatorService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ValidatorService.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ValidatorService.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ValidatorService.java
Mon May 18 21:17:06 2015
@@ -32,11 +32,11 @@ public interface ValidatorService
      * Gets default validator factory instance.
      * @return validator factory
      */
-    public ValidatorFactory getDefaultValidatorFactory();
+    ValidatorFactory getDefaultValidatorFactory();
     
     /**
      * Gets validator of default validator factory.
      * @return validator
      */
-    public Validator getDefaultValidator();
+    Validator getDefaultValidator();
 }

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/adaptor/ELAdaptor.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/adaptor/ELAdaptor.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/adaptor/ELAdaptor.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/adaptor/ELAdaptor.java
Mon May 18 21:17:06 2015
@@ -29,7 +29,7 @@ import javax.el.ExpressionFactory;
  */
 public interface ELAdaptor
 {
-    public ELResolver getOwbELResolver();
+    ELResolver getOwbELResolver();
 
-    public ExpressionFactory getOwbWrappedExpressionFactory(ExpressionFactory expressionFactory);
+    ExpressionFactory getOwbWrappedExpressionFactory(ExpressionFactory expressionFactory);
 }

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansEjbPlugin.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansEjbPlugin.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansEjbPlugin.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansEjbPlugin.java
Mon May 18 21:17:06 2015
@@ -37,7 +37,7 @@ public interface OpenWebBeansEjbPlugin e
      * @param clazz class definition
      * @return true if class is an ejb class false otherwise
      */
-    public boolean isSessionBean(Class<?> clazz);
+    boolean isSessionBean(Class<?> clazz);
 
     /**
      * return true is clazz is an impl class or business interface of an EJB
@@ -45,7 +45,7 @@ public interface OpenWebBeansEjbPlugin e
      * @param clazz class definition
      * @return true is clazz denotes an EJB
      */
-    public boolean isNewSessionBean(Class<?> clazz);
+    boolean isNewSessionBean(Class<?> clazz);
 
     /**
      * Configures session bean and adds it into the container.
@@ -53,9 +53,9 @@ public interface OpenWebBeansEjbPlugin e
      * @param clazz session bean class
      * @param annotatedType processed annotated type
      */
-    public <T> Bean<T> defineSessionBean(Class<T> clazz, BeanAttributes<T>
attributes, AnnotatedType<T> annotatedType);
+    <T> Bean<T> defineSessionBean(Class<T> clazz, BeanAttributes<T>
attributes, AnnotatedType<T> annotatedType);
 
-    public <T> Bean<T> defineNewSessionBean(Class<T> clazz);
+    <T> Bean<T> defineNewSessionBean(Class<T> clazz);
 
     /**
      * Returns true if given class is singleton session bean, false otherwise.
@@ -63,23 +63,23 @@ public interface OpenWebBeansEjbPlugin e
      * @param clazz session bean class
      * @return true if given class is singleton session bean, false otherwise
      */
-    public boolean isSingletonBean(Class<?> clazz);
+    boolean isSingletonBean(Class<?> clazz);
 
     /**
      * Returns true if given class is stateless session bean, false otherwise.
      * 
      * @param clazz session bean class
      * @return true if given class is singleton session bean, false otherwise
-     */    
-    public boolean isStatelessBean(Class<?> clazz);
+     */
+    boolean isStatelessBean(Class<?> clazz);
 
     /**
      * Returns true if given class is stateful session bean, false otherwise.
      * 
      * @param clazz session bean class
      * @return true if given class is singleton session bean, false otherwise
-     */    
-    public boolean isStatefulBean(Class<?> clazz);
+     */
+    boolean isStatefulBean(Class<?> clazz);
 
     /**
      * Returns session bean proxy.
@@ -88,7 +88,7 @@ public interface OpenWebBeansEjbPlugin e
      * @param iface interface
      * @return session bean proxy
      */
-    public Object getSessionBeanProxy(Bean<?> bean, Class<?> iface, CreationalContext<?>
creationalContext);
+    Object getSessionBeanProxy(Bean<?> bean, Class<?> iface, CreationalContext<?>
creationalContext);
 
     Method resolveViewMethod(Bean<?> component, Method declaredMethod);
 

Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansPlugin.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansPlugin.java?rev=1680103&r1=1680102&r2=1680103&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansPlugin.java
(original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/plugins/OpenWebBeansPlugin.java
Mon May 18 21:17:06 2015
@@ -41,7 +41,7 @@ public interface OpenWebBeansPlugin
      * initialise the plugin.
      * This is called once after the very plugin has been loaded.
      */
-    public void startUp();
+    void startUp();
 
     /**
      * At shutdown, the plugin must release all locked resources.
@@ -49,7 +49,7 @@ public interface OpenWebBeansPlugin
      * This is usually the case when the WebApplication gets stopped.
      * @throws WebBeansConfigurationException
      */
-    public void shutDown();
+    void shutDown();
     
 
     /**
@@ -58,7 +58,7 @@ public interface OpenWebBeansPlugin
      * @param clazz the class to check
      * @throws WebBeansConfigurationException if the given clazz cannot be used as simple
web bean.
      */
-    public void isManagedBean(Class<?> clazz);
+    void isManagedBean(Class<?> clazz);
     
     /**
      * Returns true if plugin provides given service implementation
@@ -66,7 +66,7 @@ public interface OpenWebBeansPlugin
      * @param serviceClass any service class
      * @return true if plugin provides given service implementation
      */
-    public boolean supportService(Class<?> serviceClass);
+    boolean supportService(Class<?> serviceClass);
     
     /**
      * Returns true if given class supports injections,
@@ -74,7 +74,7 @@ public interface OpenWebBeansPlugin
      * @param targetClass any target class
      * @return true if given class supports injections
      */
-    public boolean supportsJavaEeComponentInjections(Class<?> targetClass);
+    boolean supportsJavaEeComponentInjections(Class<?> targetClass);
     
     
     /**
@@ -83,5 +83,5 @@ public interface OpenWebBeansPlugin
      * @param serviceClass service class
      * @return service
      */
-    public <T> T getSupportedService(Class<T> serviceClass);
+    <T> T getSupportedService(Class<T> serviceClass);
 }



Mime
View raw message