com.sun.enterprise.util.cluster
Class Paths

java.lang.Object
  extended by com.sun.enterprise.util.cluster.Paths

public final class Paths
extends java.lang.Object

Why go through the painful process of creating Paths and hard-coding in filenames in more than one place? Let's do it in here and only in here

Author:
Byron Nevins

Field Summary
static java.lang.String DAS_PROPS_FILENAME
           
static java.lang.String DAS_PROPS_SUBPATH
           
 
Method Summary
static java.lang.String getDasPropsPath(Node node)
           
static java.lang.String getInstanceDirPath(Node node, java.lang.String instanceName)
           
static java.lang.String getNodeDir(Node node)
           
static java.lang.String getNodesDir(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DAS_PROPS_FILENAME

public static final java.lang.String DAS_PROPS_FILENAME
See Also:
Constant Field Values

DAS_PROPS_SUBPATH

public static final java.lang.String DAS_PROPS_SUBPATH
See Also:
Constant Field Values
Method Detail

getNodesDir

public static final java.lang.String getNodesDir(Node node)

getNodeDir

public static final java.lang.String getNodeDir(Node node)

getDasPropsPath

public static final java.lang.String getDasPropsPath(Node node)

getInstanceDirPath

public static java.lang.String getInstanceDirPath(Node node,
                                                  java.lang.String instanceName)


Copyright © 2012 GlassFish Community. All Rights Reserved.