On Thu, May 30, 2013 at 9:36 AM, Ajanthan Balachandran <[email protected]>wrote:

>
>
>
> On Thu, May 30, 2013 at 8:12 AM, Subash Chaturanga <[email protected]>wrote:
>
>>
>>
>> On Wed, May 29, 2013 at 7:04 PM, Ajanthan Balachandran <[email protected]
>> > wrote:
>>
>>> Hi
>>> Are User defined Handlers invoked after MountHandler always or Other way?
>>>
>> Hi Ajanthan,
>>
>> In registry operations, always handler LC manager will execute "user"
>> phase handlers after executing "tenant" phase handlers.
>>
>> So user defined handlers are registered in "user phase. If the mount
>> handler registered for the tenant on the current registry session
>> (forAllTenants =false) it will registered in "tenant" phase. In this case
>> mount handler hits first, then user handler.
>>
> Thanks Subash.
>

FYI, If u add a handler through registry xml, which will goes in to user
defined system handler phase (system) which is also executed after "tenant"
phase. In registry, generally such user defined handlers added in a phase
where those will not get hit prior to handlers like MountHandler,
CacheHandler etc.

But still if you want your handler to get hit before mount handler, you
have to register your handler in default system handler phase. That you
have to register your handler programatically in your bundle startup. You
can obtain handler manager via registry service to register a handler.


>
>> Hi Senaka,
>> In any jdbc mount configuration, does the mount handler registered in
>> "tenant" phase ?
>>
>>
>>>  Thanks
>>>
>>> --
>>> ajanthan
>>> --
>>> Ajanthan Balachandiran
>>> Senior Software Engineer;
>>> Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/
>>>
>>> email: ajanthan <http://goog_595075977>@wso2.com; cell: +94775581497
>>> blog: http://bkayts.blogspot.com/
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks
>> /subash
>>
>> *Subash Chaturanga*
>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>
>> email: [email protected]
>> blog:  http://subashsdm.blogspot.com/
>> twitter: @subash89
>> phone: +9477 2225922
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> ajanthan
> --
> Ajanthan Balachandiran
> Senior Software Engineer;
> Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/
>
> email: ajanthan <http://goog_595075977>@wso2.com; cell: +94775581497
> blog: http://bkayts.blogspot.com/
>
> Lean . Enterprise . Middleware
>



-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com

email: [email protected]
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to