Forge - Addon Container 2.0.0.Alpha3

org.jboss.forge.container.impl
Class AddonRegistryImpl

java.lang.Object
  extended by org.jboss.forge.container.impl.AddonRegistryImpl
All Implemented Interfaces:
AddonRegistry

public class AddonRegistryImpl
extends Object
implements AddonRegistry

Author:
Lincoln Baxter, III

Constructor Summary
AddonRegistryImpl(Forge forge)
           
 
Method Summary
 void finishedStarting(AddonImpl addon)
           
 void forceUpdate()
           
 AddonImpl getAddon(AddonId id)
           
 Set<Addon> getAddons()
           
 Set<Addon> getAddons(AddonFilter filter)
           
<T> ExportedInstance<T>
getExportedInstance(Class<T> type)
           
<T> ExportedInstance<T>
getExportedInstance(String type)
           
<T> Set<ExportedInstance<T>>
getExportedInstances(Class<T> type)
           
<T> Set<ExportedInstance<T>>
getExportedInstances(String type)
           
 boolean isStartingAddons()
          Returns true if there are currently any Addons being started.
 void stopAll()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddonRegistryImpl

public AddonRegistryImpl(Forge forge)
Method Detail

getAddon

public AddonImpl getAddon(AddonId id)
Specified by:
getAddon in interface AddonRegistry

getAddons

public Set<Addon> getAddons()
Specified by:
getAddons in interface AddonRegistry

getAddons

public Set<Addon> getAddons(AddonFilter filter)
Specified by:
getAddons in interface AddonRegistry

getExportedInstances

public <T> Set<ExportedInstance<T>> getExportedInstances(Class<T> type)
Specified by:
getExportedInstances in interface AddonRegistry

getExportedInstances

public <T> Set<ExportedInstance<T>> getExportedInstances(String type)
Specified by:
getExportedInstances in interface AddonRegistry

getExportedInstance

public <T> ExportedInstance<T> getExportedInstance(Class<T> type)
Specified by:
getExportedInstance in interface AddonRegistry

getExportedInstance

public <T> ExportedInstance<T> getExportedInstance(String type)
Specified by:
getExportedInstance in interface AddonRegistry

toString

public String toString()
Overrides:
toString in class Object

forceUpdate

public void forceUpdate()

stopAll

public void stopAll()

finishedStarting

public void finishedStarting(AddonImpl addon)

isStartingAddons

public boolean isStartingAddons()
Returns true if there are currently any Addons being started.


Forge - Addon Container 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.