@Override
public File getDomainRoot() {
return getInstanceRoot();
On 5/14/2010 5:08 PM, Bill Shannon wrote:
> Can someone tell me what the intended semantic difference is between
> ServerEnvironment.getDomainRoot() and
> ServerEnvironment.getInstanceRoot()?
getDomainRoot should have never existed. It makes no sense for non-DAS
servers to know DAS' root-dir. getInstanceRoot () makes sense for any
GF server.
getDomainRoot is used in 105 java files unfortunately. I attached the
list FYI
> Right now they both return the same value, at least for the DAS.
> Would they return different values in a server instance?
No -- both methods always return the same thing.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
--
Byron Nevins - Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188
- text/plain attachment: foo