org.abstracthorizon.extend.server.deployment.support
Class JarModuleLoader
java.lang.Object
org.abstracthorizon.extend.server.deployment.service.AbstractServiceModuleLoader
org.abstracthorizon.extend.server.deployment.support.JarModuleLoader
- All Implemented Interfaces:
- ModuleLoader
public class JarModuleLoader
- extends AbstractServiceModuleLoader
Module loader that loads one jar only
- Author:
- Daniel Sendula
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarModuleLoader
public JarModuleLoader()
toModuleId
public ModuleId toModuleId(URI uri)
- Translates URI to moduleId
- Parameters:
uri
- uri
- Returns:
- module id or
null
load
public Module load(URI uri)
- Loads Jar as a module
- Parameters:
uri
- jar's URI
- Returns:
- module
loadAs
public Module loadAs(URI uri,
ModuleId moduleId)
- Loads Jar as a module
- Parameters:
uri
- jar's URImoduleId
- module id to be used while creating module
- Returns:
- module
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.