org.abstracthorizon.extend.server.deployment.support
Class DirectoryModule

java.lang.Object
  extended by org.abstracthorizon.extend.server.deployment.support.AbstractModule
      extended by org.abstracthorizon.extend.server.deployment.support.DirectoryModule
All Implemented Interfaces:
Module

public class DirectoryModule
extends AbstractModule

This module represents a directory. It doesn't perform any task but making supplied directory available as a module in a list of modules.

Author:
Daniel Sendula
See Also:
AbstractApplicationContextModule

Field Summary
protected  File dir
           
 
Fields inherited from class org.abstracthorizon.extend.server.deployment.support.AbstractModule
classLoader, dependOnThis, dependsOn, moduleId, originalUrl, state, workingUrl
 
Fields inherited from interface org.abstracthorizon.extend.server.deployment.Module
CREATED, DEFINED, STARTED, UNDEFINED, WAITING_ON_CREATE, WAITING_ON_CREATE_TO_START, WAITING_ON_START
 
Constructor Summary
DirectoryModule(URL url)
          Empty constructor
 
Method Summary
protected  void createClassLoader()
          This method creates the class loader
protected  void createInternal()
          Empty implementation
protected  void destroyInternal()
          Empty implementation
protected  void startInternal()
          Empty implementation
protected  void stopInternal()
          Empty implementation
 
Methods inherited from class org.abstracthorizon.extend.server.deployment.support.AbstractModule
create, destroy, equals, getClassLoader, getDependOnThis, getDependsOn, getModuleId, getOriginalLocation, getState, getWorkingLocation, setLocation, setModuleId, setState, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dir

protected File dir
Constructor Detail

DirectoryModule

public DirectoryModule(URL url)
                throws MalformedURLException
Empty constructor

Throws:
MalformedURLException
Method Detail

createInternal

protected void createInternal()
Empty implementation


startInternal

protected void startInternal()
Empty implementation


stopInternal

protected void stopInternal()
Empty implementation


destroyInternal

protected void destroyInternal()
Empty implementation


createClassLoader

protected void createClassLoader()
This method creates the class loader

Overrides:
createClassLoader in class AbstractModule


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.