You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jared Stewart (JIRA)" <ji...@apache.org> on 2017/07/18 17:13:00 UTC

[jira] [Commented] (GEODE-3235) Deploy jar does not register functions which extend FunctionAdapter

    [ https://issues.apache.org/jira/browse/GEODE-3235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091825#comment-16091825 ] 

Jared Stewart commented on GEODE-3235:
--------------------------------------

This looks like it may be a bug in the FastClasspathScanner library we use to scan deployed jars.  I've reached out to the author to confirm that this is unexpected behavior, as the javadoc would seem to imply: 

{noformat}
public java.util.List<String> getNamesOfClassesImplementing(Class<?> implementedInterface)

Get the names of all classes that implement (or have superclasses that implement) the given interface (or one of its subinterfaces).
{noformat}

> Deploy jar does not register functions which extend FunctionAdapter
> -------------------------------------------------------------------
>
>                 Key: GEODE-3235
>                 URL: https://issues.apache.org/jira/browse/GEODE-3235
>             Project: Geode
>          Issue Type: Bug
>          Components: functions, gfsh
>    Affects Versions: 1.2.0
>            Reporter: Jared Stewart
>            Assignee: Jared Stewart
>
> Scanning a deployed jar to find its contained Functions work as expected when the Functions directly implement the *Function* interface, but fails to find them when the functions extend *FunctionAdapter* abstract class. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)