org.nakedobjects.runtime.persistence.services
Class ServicesInstallerAbstract

java.lang.Object
  extended by org.nakedobjects.runtime.installers.InstallerAbstract
      extended by org.nakedobjects.runtime.persistence.services.ServicesInstallerAbstract
All Implemented Interfaces:
ApplicationScopedComponent, Component, Installer, ConfigurationBuilderAware, ServicesInstaller

public abstract class ServicesInstallerAbstract
extends InstallerAbstract
implements ServicesInstaller


Field Summary
 
Fields inherited from interface org.nakedobjects.runtime.persistence.services.ServicesInstaller
TYPE
 
Constructor Summary
ServicesInstallerAbstract(java.lang.String name)
           
 
Method Summary
 void addService(java.lang.Object service)
          Add this service, automatically unravelling if is a Collection of services.
 void addServices(java.util.List<java.lang.Object> services)
           
 void addSimpleRepository(java.lang.Class<?> cls)
           
 java.util.List<java.lang.Object> getServices(DeploymentType deploymentType)
           
 void removeService(java.lang.Object service)
           
 
Methods inherited from class org.nakedobjects.runtime.installers.InstallerAbstract
addConfigurationResources, getConfiguration, getConfigurationResources, getName, getType, init, setConfiguration, setConfigurationBuilder, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.Installer
getConfigurationResources, getName, getType
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 

Constructor Detail

ServicesInstallerAbstract

public ServicesInstallerAbstract(java.lang.String name)
Method Detail

addService

public void addService(java.lang.Object service)
Add this service, automatically unravelling if is a Collection of services.

Parameters:
service -

addSimpleRepository

public void addSimpleRepository(java.lang.Class<?> cls)

getServices

public java.util.List<java.lang.Object> getServices(DeploymentType deploymentType)
Specified by:
getServices in interface ServicesInstaller

addServices

public void addServices(java.util.List<java.lang.Object> services)

removeService

public void removeService(java.lang.Object service)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.