Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Internal Packages???
Internal Packages??? [message #147123] Tue, 15 November 2005 14:20 Go to next message
Eclipse UserFriend
Ive noticed alot of the tips and answers I find here have me subclass
classes that are in internal packages. So a few questions on that. Are
they internal for a reason? and if they are meant to be subclassed, why are
they not in public packages? I was told (or read, or somthing) that we are
not to subclass internal classes, so when told to do so, is it just a hack?

Thanks, Im just trying to understand how to do a few things.
Brian
Re: Internal Packages??? [message #147485 is a reply to message #147123] Thu, 17 November 2005 11:24 Go to previous message
Eclipse UserFriend
On Tue, 15 Nov 2005 14:20:04 -0500, Brian Jakubik <brian.jakubik@intervo=
ice.com> wrote:

> Ive noticed alot of the tips and answers I find here have me subclass
> classes that are in internal packages. So a few questions on that. A=
re
> they internal for a reason? and if they are meant to be subclassed, wh=
y are
> they not in public packages? I was told (or read, or somthing) that w=
e are
> not to subclass internal classes, so when told to do so, is it just a =
hack?
>
> Thanks, Im just trying to understand how to do a few things.
> Brian
>
>

I can confirm that in general, "internal" means "not to be used (much le=
ss subclassed) by extenders of WTP".

But, there is a part of that statement that is implicit: "do not use if =
you want compatibility with future versions".

I'm not sure of the specific "tips" you got, but I suspect they were com=
menting on the "only known current way"
to accomplish something.

As WTP evolves, we will be creating (and evolving) more API ... so enhan=
cement requests in bugzilla,
of the form "in order to do X, I had to use internal classes Y" would be=
helpful to us as we assess priorities.

Of course, the implications for you, is that if you use internals, you a=
re "signing up" for the risk that
you will have to change it in each release to "fix" what ever internal c=
hanges have been made.
This is not something we desire, but many clients do not mind this form =
of "participation"
in WTP -- since I guess the alternative is to sign up for more
participation to do the work to make an API :)
Previous Topic:Webservice & Complex Types
Next Topic:cannot find web.xml
Goto Forum:
  


Current Time: Tue Apr 29 08:33:52 EDT 2025

Powered by FUDForum. Page generated in 0.27569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top