org.nanocontainer.testmodel
Interface WebServerConfig

All Known Implementing Classes:
DefaultWebServerConfig, ResourceBundleWebServerConfig, WebServerConfigBean, WebServerConfigComp, WebServerConfigStub

public interface WebServerConfig

For a two parameter confiuration, you might prefer to use addParameterForComponent on OldRegistrationPicoContainer. This example that uses a separate configuration object would be better for cases where there were say fifty configurable things about a particilar component.


Method Summary
 java.lang.String getHost()
           
 int getPort()
           
 

Method Detail

getHost

java.lang.String getHost()

getPort

int getPort()


Copyright © 2003-2010 Codehaus. All Rights Reserved.