I don't see any rationale to moving this into Axis2. It is not going to be
used in Axis2


On Tuesday, April 2, 2013, Nirmal Fernando wrote:

> Well, Azeez here's the class.. We can move right?
>
> /**
>  * This GroupManagementAgent can handle group membership based on cluster
> sub-domains.
>  */
> public class SubDomainAwareGroupManagementAgent extends
> DefaultGroupManagementAgent {
>
>     private String subDomain;
>
>     public SubDomainAwareGroupManagementAgent(String subDomain) {
>         this.subDomain = subDomain;
>     }
>
>     @Override
>     public void applicationMemberAdded(Member member) {
>         String subDomain = member.getProperties().getProperty("subDomain");
>         if (subDomain == null || subDomain.equals(this.subDomain)) {
>             super.applicationMemberAdded(member);
>         }
>     }
>
>     @Override
>     public void applicationMemberRemoved(Member member) {
>         String subDomain = member.getProperties().getProperty("subDomain");
>         if (subDomain == null || subDomain.equals(this.subDomain)) {
>             super.applicationMemberRemoved(member);
>         }
>     }
> }
>
>
>
> On Tue, Apr 2, 2013 at 9:37 PM, Afkham Azeez 
> <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>
> > wrote:
>
>> We can't move that. I think it also has tenancy related code.
>>
>>
>> On Tue, Apr 2, 2013 at 7:31 PM, Nirmal Fernando 
>> <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>
>> > wrote:
>>
>>> Hi Azeez,
>>>
>>> Do you think it's a good idea to move
>>> "SubDomainAwareGroupManagementAgent" into Axis2 (currently it's in
>>> "lb-endpoint" component) ?
>>>
>>> I felt like we have to use this implementation in various other
>>> components than lb-endpoint component for writing test cases etc. and
>>> currently we have to add an additional dependency for "lb-endpoint"
>>> component, to get that done.
>>>
>>> WDYT?
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>> <http://nirmalfdo.blogspot.com/>
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <javascript:_e({}, 'cvml', 
>> '[email protected]');>*cell: +94
>> 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
> <http://nirmalfdo.blogspot.com/>
>


-- 
Sent from Gmail Mobile
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to