Method Summary |
|
public static void | cleanup() Cleans up the default repository if it exists. |
public static Repository | getDefaultRepository() Retrieves the current default repository. |
public static Participant | getParticipant(String name) Convenience method to quickly retrieve the first participant with a
certain name from the default repository. |
public static Collection<? extends Participant> | getParticipants(String name) Convenience method to quickly retrieve all the participants with a
certain name from the default repository. |
public static HierarchicalProperties | getProperties() Convenience method to quickly retrieve the properties from the default
repository. |
public static boolean | hasParticipant(String name) Convenience method to quickly check if a participant with a certain
name is available in the default repository. |
public static void | initialize(String repXmlPath) Initializes the default repository by creating an instance of
BlockingRepository and initializing it with the provided
XML path, a default resource finder and no context. |
public static void | initialize(String repXmlPath, ResourceFinder resourcefinder, Object context) Initializes the default repository by creating an instance of
BlockingRepository and initializing it with the provided
properties and context. |
public static void | setDefaultRepository(Repository repository) Replaces the default repository. |