On Wed, Feb 16, 2011 at 9:36 AM, Kathiravelu Pradeeban <[email protected]>wrote:
> > Those classes and methods who are defined inside 'internal' are internal to > the bundle only, and won't be exposed to outside. Hence it gives a better > level of encapsulation (encapsulate and hide properly, whatever needs not to > be exposed outside. This simplifies the design). You can hide whatever you > want to your bundle yourself. Isn't it really nice? :) > > Yes. It is beautiful :) I would like to add one more thing. If you have static methods like setRealmService(...) always better to have it inside a internal package. Or else secure it with JavaSec. Otherwise some outsider can set the RealmService in that bundle. Dangerous stuff when it comes to stratos! Thanks, Dimuthu > Regards, > Pradeeban. > > >> Thanks, >>> Senaka. >>> >>>> >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] For more information, run Maven with the -e switch >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 272 minutes 18 seconds >>>> [INFO] Finished at: Wed Feb 16 03:14:31 IST 2011 >>>> [INFO] Final Memory: 1154M/1785M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>> >>> >>> >>> -- >>> *Senaka Fernando* >>> Product Manager - WSO2 Governance Registry; >>> Associate Technical Lead; WSO2, Inc.; http://wso2.com* >>> Member; Apache Software Foundation; http://apache.org >>> >>> E-mail: senaka AT wso2.com >>> **P: +1 408 754 7388 <+14087547388>; ext: 51736*; *M: +94 77 322 >>> 1818<+94773221818> >>> Linked-In: http://www.linkedin.com/in/senakafernando >>> >>> *Lean . Enterprise . Middleware >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> Thanks, >> Denis >> ---------------------------------------------------------- >> *Denis Weerasiri* >> Software Engineer; WSO2 Inc.; http://wso2.com, >> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/> >> * >> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/> >> * >> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri> >> * >> linked-in: >> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri> >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Kathiravelu Pradeeban. > Software Engineer. > WSO2 Inc. > > Blog: [Llovizna] http://kkpradeeban.blogspot.com/ > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
