You can refresh your application context
<http://techdive.in/spring/spring-refresh-application-context> after
deploying the function from gfsh. A function that does this may work.

On Wed, May 23, 2018 at 7:40 AM Mark Secrist <[email protected]> wrote:

> I think the only way this would work is if the GemFire servers were
> started using Spring configuration.
>
> On Wed, May 23, 2018 at 8:38 AM, Dharam Thacker <[email protected]
> > wrote:
>
>> Thanks Jinmei!
>>
>> But would that recognize spring data geode function annotations as well
>> (@GemfireFunction) ? I did try and it shows deployment successful.
>>
>> But "gfsh list functions" does not show anything to me.
>>
>> Thanks,
>> Dharam
>>
>> On Wed, May 23, 2018, 20:03 Jinmei Liao <[email protected]> wrote:
>>
>>> You can use deploy command in gfsh:
>>>
>>> https://geode.apache.org/docs/guide/13/tools_modules/gfsh/command-pages/deploy.html
>>>
>>> On Wed, May 23, 2018, 6:37 AM Dharam Thacker <[email protected]>
>>> wrote:
>>>
>>>> Hi John/Team,
>>>>
>>>> Is there any way we can deploy application jar with functions created
>>>> using spring data geode via Gfsh or any other utility?
>>>>
>>>> For few apps, I have servers started from GFSH.
>>>>
>>>> Thanks,
>>>> Dharam
>>>>
>>>
>
>
> --
>
> *Mark Secrist | Director, **Global Education Delivery*
>
> [email protected]
>
> 970.214.4567 Mobile
>
>   *pivotal.io <http://www.pivotal.io/>*
>
> Follow Us: Twitter <http://www.twitter.com/pivotal> | LinkedIn
> <http://www.linkedin.com/company/pivotalsoftware> | Facebook
> <http://www.facebook.com/pivotalsoftware> | YouTube
> <http://www.youtube.com/gopivotal> | Google+
> <https://plus.google.com/105320112436428794490>
>

Reply via email to