org.hippoecm.hst.site.addon.module.runtime
Class ModuleInstanceImpl
java.lang.Object
org.hippoecm.hst.site.addon.module.runtime.ModuleInstanceImpl
- All Implemented Interfaces:
- ModuleInstance, ComponentManagerAware, org.springframework.context.ApplicationContextAware
public class ModuleInstanceImpl
- extends Object
- implements ModuleInstance, ComponentManagerAware, org.springframework.context.ApplicationContextAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleInstanceImpl
public ModuleInstanceImpl(ModuleDefinition moduleDefinition)
ModuleInstanceImpl
public ModuleInstanceImpl(ModuleDefinition moduleDefinition,
String[] namePrefixes)
getName
public String getName()
- Specified by:
getName in interface ModuleInstance
getFullName
public String getFullName()
- Specified by:
getFullName in interface ModuleInstance
setComponentManager
public void setComponentManager(ComponentManager componentManager)
- Description copied from interface:
ComponentManagerAware
- Sets the component manager
- Specified by:
setComponentManager in interface ComponentManagerAware
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext parentApplicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
initialize
public void initialize()
- Specified by:
initialize in interface ModuleInstance
start
public void start()
- Specified by:
start in interface ModuleInstance
stop
public void stop()
- Specified by:
stop in interface ModuleInstance
close
public void close()
- Specified by:
close in interface ModuleInstance
getComponent
public <T> T getComponent(String name)
- Specified by:
getComponent in interface ModuleInstance
getComponentsOfType
public <T> Map<String,T> getComponentsOfType(Class<T> requiredType)
- Specified by:
getComponentsOfType in interface ModuleInstance
getModuleInstances
public List<ModuleInstance> getModuleInstances()
- Specified by:
getModuleInstances in interface ModuleInstance
getModuleInstance
public ModuleInstance getModuleInstance(String name)
- Specified by:
getModuleInstance in interface ModuleInstance
Copyright © 2008-2012 Hippo. All Rights Reserved.