ADK CVS

tryllian.are.persistence.spi
Interface ARLSerializer


public interface ARLSerializer

The ARLSerializer is a proxy for an AgentResourceLocator. It separates the actual AgentResourceLocator from the persistence layer.


Field Summary
static java.lang.String AGENT_JARS
          Jarfiles specific to this agent.
static java.lang.String SHARED_REFS
          Library jarfiles this agent shares with other agents, like afc.jar.
 
Method Summary
 java.lang.String getARLID()
          Returns the unique identifier of the ARL.
 java.util.Map getJarURLs(java.lang.String type)
          Returns a map containing JarID to URL mappings.
 java.lang.String getMainClass()
          Returns the string representing the fully qualified main class of the agent.
 

Field Detail

SHARED_REFS

public static final java.lang.String SHARED_REFS
Library jarfiles this agent shares with other agents, like afc.jar.

See Also:
Constant Field Values

AGENT_JARS

public static final java.lang.String AGENT_JARS
Jarfiles specific to this agent.

See Also:
Constant Field Values
Method Detail

getARLID

public java.lang.String getARLID()
Returns the unique identifier of the ARL. Every ARL created from the same DNA file has the same identifier.

Returns:
a String representing the unique identifier of the ARL.

getMainClass

public java.lang.String getMainClass()
                              throws PersistenceException
Returns the string representing the fully qualified main class of the agent.

Returns:
A string representing the fully qualified main class.
Throws:
PersistenceException

getJarURLs

public java.util.Map getJarURLs(java.lang.String type)
Returns a map containing JarID to URL mappings. Keys and values are both strings.

Returns:
The Map of JarID to URL mappings

Copyright 2005, Tryllian Solutions B.V.