« Return to Thread: Overriding plugin functionality in app

Re: Overriding plugin functionality in app

by Brad Booth :: Rate this Message:

Reply to Author | View in Thread

The multi tenant plugin is under active development.  What exactly are  
you trying to do?  We might be able just put in a feature request and  
we can get it in.

Sent from my iPhone

On Jul 5, 2009, at 9:53 PM, altosz <altos.z@...> wrote:

>
> I want to extend multi-tenant plugin functionality
>
>
> Burt Beckwith wrote:
>>
>> Which plugin?
>>
>> Burt
>>
>> On Monday 06 July 2009 12:43:37 am altosz wrote:
>>>
>>> Thanks for your answers,
>>>
>>> it is what I wanted. I'll try to modify plugin functionality via
>>> extending
>>> plugin metaclass in Bootstrap and if it works and plugin's author is
>>> happy
>>> with it I would commit to common repository - otherwise such  
>>> extension
>>> will
>>> leave in my app only.
>>>
>>>
>>> nycsailor wrote:
>>>>
>>>> I'm not absolutely sure, but I'm pretty sure the Bootstrap is  
>>>> started
>>>> after the plugins load (which is evident by Hibernate being  
>>>> available).
>>>>
>>>> You could probably do what you want in there.
>>>>
>>>> On Sun, 2009-07-05 at 10:07 -0700, altosz wrote:
>>>>> So I should create my own plugin which is loaded after the  
>>>>> original
>>>>> plugin
>>>>> and there override the functionality I need?
>>>>>
>>>>> But still is it possible to override the functionality of the  
>>>>> plugins
>>> not
>>>>> messing with other plugins? Just in the application structure.  
>>>>> And if
>>> it
>>>>> is
>>>>> ok I should better create a patch to the plugin then issue another
>>> one.
>>>>>
>>>>>
>>>>>
>>>>> nycsailor wrote:
>>>>>>
>>>>>> Is it possible with what you want to do, that you can create a
>>> plugin
>>>>>> that modifies the other plugin through MetaProgramming.  Groovy  
>>>>>> is
>>> very
>>>>>> flexible when it comes to modifying objects and classes and  
>>>>>> grails
>>>>>> allows you to specify plugins that need to be loaded before  
>>>>>> yours.
>>>>>>
>>>>>> I'm not sure what you want to do, but this might be the easiest.
>>>>>>
>>>>>> On Sun, 2009-07-05 at 09:36 -0700, altosz wrote:
>>>>>>> Good day, Grails and plugin developers,
>>>>>>>
>>>>>>> I've encountered the following question when developing an  
>>>>>>> app. I
>>> have
>>>>> a
>>>>>>> plugin and would like to override (expand) it functionality. How
>>>>> should
>>>>>>> it
>>>>>>> be done?
>>>>>>>
>>>>>>> 1. Is it possible to create the same class in app plugin folder?
>>>>> Whould
>>>>>>> it
>>>>>>> override the same class of the plugin?
>>>>>>> 2. Or the only way is to modify plugin code?
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>> Alexei
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Overriding-plugin-functionality-in-app-tp24344656p24349794.html
> Sent from the grails - dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Overriding plugin functionality in app