Class PojoInstantiator

    • Method Detail

      • instantiate

        public java.lang.Object instantiate()
        Description copied from interface: Instantiator
        Perform the requested instantiation.
        Specified by:
        instantiate in interface Instantiator
        Returns:
        The instantiated data structure.
      • applyInterception

        protected java.lang.Object applyInterception​(java.lang.Object entity)
      • instantiate

        public java.lang.Object instantiate​(java.io.Serializable id)
        Description copied from interface: Instantiator
        Perform the requested entity instantiation.

        This form is never called for component instantiation, only entity instantiation.

        Specified by:
        instantiate in interface Instantiator
        Parameters:
        id - The id of the entity to be instantiated.
        Returns:
        An appropriately instantiated entity.
      • isInstance

        public boolean isInstance​(java.lang.Object object)
        Description copied from interface: Instantiator
        Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
        Specified by:
        isInstance in interface Instantiator
        Parameters:
        object - The object to be checked.
        Returns:
        True is the object does represent an instance of the underlying entity/component.