org.jboss.forge.container.impl
Class AddonRegistryImpl
java.lang.Object
org.jboss.forge.container.impl.AddonRegistryImpl
- All Implemented Interfaces:
- AddonRegistry
public class AddonRegistryImpl
- extends Object
- implements AddonRegistry
- Author:
- Lincoln Baxter, III
AddonRegistryImpl
public AddonRegistryImpl(Forge forge)
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.
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.