SmartFrog 3.10.000

org.smartfrog.services.os.java
Interface Library

All Superinterfaces:
FileUsingComponent, java.rmi.Remote
All Known Implementing Classes:
LibraryImpl

public interface Library
extends FileUsingComponent

A set of libraries to use. Can feed directly into a java invocation created 04-Apr-2005 12:16:46


Field Summary
static java.lang.String ATTR_CACHE_DIR
          "cacheDir"
static java.lang.String ATTR_LOCAL_CACHE_POLICY
          Name of class implementing local cache policy
static java.lang.String ATTR_REMOTE_CACHE_POLICY
          Name of class implementing remote cache policy
static java.lang.String ATTR_REPOSITORIES
          "repositories"
 
Fields inherited from interface org.smartfrog.services.filesystem.FileUsingComponent
ATTR_ABSOLUTE_PATH, ATTR_FILENAME, ATTR_URI
 
Method Summary
 java.lang.String determineArtifactPath(SerializedArtifact artifact)
          Determine the absolute path of an artifact in the local library cache.
 java.lang.String determineArtifactRelativeURLPath(SerializedArtifact artifact)
          Determine the relative path of an artifact in the current policy This is not an absolute URL, as there may be a list of full URLs to work with.
 

Field Detail

ATTR_REPOSITORIES

static final java.lang.String ATTR_REPOSITORIES
"repositories"

See Also:
Constant Field Values

ATTR_CACHE_DIR

static final java.lang.String ATTR_CACHE_DIR
"cacheDir"

See Also:
Constant Field Values

ATTR_LOCAL_CACHE_POLICY

static final java.lang.String ATTR_LOCAL_CACHE_POLICY
Name of class implementing local cache policy

See Also:
Constant Field Values

ATTR_REMOTE_CACHE_POLICY

static final java.lang.String ATTR_REMOTE_CACHE_POLICY
Name of class implementing remote cache policy

See Also:
Constant Field Values
Method Detail

determineArtifactPath

java.lang.String determineArtifactPath(SerializedArtifact artifact)
                                       throws java.rmi.RemoteException,
                                              SmartFrogException
Determine the absolute path of an artifact in the local library cache.

Returns:
the path to the artifact. It may or may not exist.
Throws:
java.rmi.RemoteException
SmartFrogException

determineArtifactRelativeURLPath

java.lang.String determineArtifactRelativeURLPath(SerializedArtifact artifact)
                                                  throws java.rmi.RemoteException,
                                                         SmartFrogException
Determine the relative path of an artifact in the current policy This is not an absolute URL, as there may be a list of full URLs to work with.

Returns:
the path to the artifact. It may or may not exist.
Throws:
java.rmi.RemoteException
SmartFrogException

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP