org.apache.felix.moduleloader
Class ModuleImpl

java.lang.Object
  extended by org.apache.felix.moduleloader.ModuleImpl
All Implemented Interfaces:
IModule

public class ModuleImpl
extends java.lang.Object
implements IModule


Method Summary
 void addDependent(IModule module)
           
 java.lang.Class getClass(java.lang.String name)
           
 IContentLoader getContentLoader()
           
 IModuleDefinition getDefinition()
           
 IModule[] getDependents()
           
 java.lang.String getId()
           
 java.net.URL getResource(java.lang.String name)
           
 java.util.Enumeration getResources(java.lang.String name)
           
 IWire[] getWires()
           
 boolean isRemovalPending()
           
 void removeDependent(IModule module)
           
protected  void setContentLoader(IContentLoader contentLoader)
           
 void setRemovalPending(boolean removalPending)
           
 void setWires(IWire[] wires)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface IModule

getDefinition

public IModuleDefinition getDefinition()
Specified by:
getDefinition in interface IModule

getContentLoader

public IContentLoader getContentLoader()
Specified by:
getContentLoader in interface IModule

setContentLoader

protected void setContentLoader(IContentLoader contentLoader)

getWires

public IWire[] getWires()
Specified by:
getWires in interface IModule

setWires

public void setWires(IWire[] wires)

addDependent

public void addDependent(IModule module)

removeDependent

public void removeDependent(IModule module)

getDependents

public IModule[] getDependents()

isRemovalPending

public boolean isRemovalPending()
Specified by:
isRemovalPending in interface IModule

setRemovalPending

public void setRemovalPending(boolean removalPending)

getClass

public java.lang.Class getClass(java.lang.String name)
Specified by:
getClass in interface IModule

getResource

public java.net.URL getResource(java.lang.String name)
Specified by:
getResource in interface IModule

getResources

public java.util.Enumeration getResources(java.lang.String name)
Specified by:
getResources in interface IModule

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object