Let me take my comment back. I just looked at the way Rujith configure the cluster manager. So if that property is not there you can simplify this to a simple null check.
Thanks Sanjaya On Wednesday 07 February 2007 08:17, Sanjaya Karunasena wrote: > Hi Chamikara, > > I think it should be a configuration parameter which says whether > clustering is enabled or disabled, defult to disabled. > > Sanjaya > > On Tuesday 06 February 2007 20:46, Chamikara Jayalath wrote: > > Hi Bill, Dims, > > > > The ClusterManager impl will be initiated with the ConfigContext. This > > will be called in places like Context Creation and removal and may be > > property updates (hvnt fully decided yet). When Clustering is not present > > the cost should be reduced to a null check. > > > > Chamikara > > > > On 2/6/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > > > Bill, > > > > > > from what i understand, it's in a separate maven module. Not in > > > kernel. So you can ignore it :) > > > > > > -- dims > > > > > > On 2/6/07, Bill Nagy <[EMAIL PROTECTED]> wrote: > > > > What is the cost of this going to be for someone who doesn't want > > > > clustering/this particular approach to clustering? I can't infer > > > > much from the interface -- exactly which respective events are you > > > > referring to? > > > > > > > > -Bill > > > > > > > > On Thu, 2007-02-01 at 23:16 +0530, Chamikara Jayalath wrote: > > > > > At initiation Axis2 will load a ClusterManager implementation > > > > > object (if configured) and will call the methods of it whenever > > > > > respective events occur. > > > > > > > > > > Chamikara > > > > > > > > > > > > > > > [1] ClusterManager interface > > > > > > > > > > public abstract class ClusterManager { > > > > > > > > > > public abstract void init (ConfigurationContext context); > > > > > public abstract void addContext (AbstractContext context); > > > > > public abstract void removeContext (AbstractContext context); > > > > > public abstract void addProperty (AbstractContext context, > > > > > String propertyName, Object propertyValue); > > > > > public abstract void removeProperty (AbstractContext context, > > > > > String propertyName); > > > > > public abstract void touchProperty (AbstractContext context, > > > > > String propertyName); > > > > > public abstract void commit (); > > > > > > > > > > } > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > > > Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services > > > Developers > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] -- Senior Software Architect WSO2 Inc.