org.alfresco.config
Class JNDIConstants

java.lang.Object
  extended by org.alfresco.config.JNDIConstants

public final class JNDIConstants
extends java.lang.Object

Constants to create proper JNDI names for the directories that contain www content.

Ultimately, the constants in this fill will go away entirely. This is a stop-gap until we have support multiple virtual AVMHost instances, and a full Spring config (with associated sync to virt server).


Field Summary
static java.util.regex.Pattern DEFAULT_INF_PATTERN
          Patern to detect if an AVM webapp asset is in META-INF or WEB-INF dir.
static java.lang.String DEFAULT_VSERVER_IP
          Deprecated. see VirtualisationServerPreviewURIService.DEFAULT_VSERVER_IP
static int DEFAULT_VSERVER_PORT
          Deprecated. see VirtualisationServerPreviewURIService.DEFAULT_VSERVER_PORT
static java.lang.String DIR_DEFAULT_APPBASE
          Directory in which virtualized webapps reside (e.g.: "ROOT").
static java.lang.String DIR_DEFAULT_WWW
          Directory used for virtualized web content.
static java.lang.String DIR_DEFAULT_WWW_APPBASE
           
static java.lang.String PREVIEW_ASSET_URL
          Deprecated. see VirtualisationServerPreviewURIService.PREVIEW_ASSET_URL
static java.lang.String PREVIEW_SANDBOX_URL
          Deprecated. see VirtualisationServerPreviewURIService.PREVIEW_SANDBOX_URL
 
Constructor Summary
JNDIConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIR_DEFAULT_WWW_APPBASE

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

DIR_DEFAULT_WWW

public static final java.lang.String DIR_DEFAULT_WWW
Directory used for virtualized web content. Typically, this directory is a transparent overlay on a shared staging area.

See Also:
Constant Field Values

DIR_DEFAULT_APPBASE

public static final java.lang.String DIR_DEFAULT_APPBASE
Directory in which virtualized webapps reside (e.g.: "ROOT").

See Also:
Constant Field Values

DEFAULT_INF_PATTERN

public static final java.util.regex.Pattern DEFAULT_INF_PATTERN
Patern to detect if an AVM webapp asset is in META-INF or WEB-INF dir. To use this pattern, you'd do something like this:

      if ( DEFAULT_INF_PATTERN.matcher( yourfile ).find() ) 
      { 
           //  yourfile is inside an AVM webapp's META-INF or WEB-INF dir
      } 
 


DEFAULT_VSERVER_IP

public static final java.lang.String DEFAULT_VSERVER_IP
Deprecated. see VirtualisationServerPreviewURIService.DEFAULT_VSERVER_IP
Default virtualization server IP address

See Also:
Constant Field Values

DEFAULT_VSERVER_PORT

public static final int DEFAULT_VSERVER_PORT
Deprecated. see VirtualisationServerPreviewURIService.DEFAULT_VSERVER_PORT
Default virtualization server port number

See Also:
Constant Field Values

PREVIEW_SANDBOX_URL

public static final java.lang.String PREVIEW_SANDBOX_URL
Deprecated. see VirtualisationServerPreviewURIService.PREVIEW_SANDBOX_URL
Virtualization server sandbox URL pattern

See Also:
Constant Field Values

PREVIEW_ASSET_URL

public static final java.lang.String PREVIEW_ASSET_URL
Deprecated. see VirtualisationServerPreviewURIService.PREVIEW_ASSET_URL
Virtualization server asset URL pattern

See Also:
Constant Field Values
Constructor Detail

JNDIConstants

public JNDIConstants()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.