Class PropertyService

  • All Implemented Interfaces:
    java.io.Serializable

    @ApplicationScoped
    @Named("propertyService")
    public class PropertyService
    extends java.lang.Object
    implements java.io.Serializable
    Provides operations to get property values
    Author:
    Yuriy Movchan Date: 08/11/2013
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getPropertyValue​(java.lang.Object bean, java.lang.String name)
      Returns object property value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyService

        public PropertyService()
    • Method Detail

      • getPropertyValue

        public java.lang.Object getPropertyValue​(java.lang.Object bean,
                                                 java.lang.String name)
                                          throws java.lang.IllegalAccessException,
                                                 java.lang.reflect.InvocationTargetException,
                                                 java.lang.NoSuchMethodException
        Returns object property value
        Parameters:
        bean - Bean
        name - Property value
        Returns:
        Value of property
        Throws:
        java.lang.NoSuchMethodException
        java.lang.reflect.InvocationTargetException
        java.lang.IllegalAccessException