public class ServiceContainerFactory extends Object
| Constructor and Description |
|---|
ServiceContainerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ServiceContainer |
create(ServiceContainerConfiguration serviceManagerConfig)
Create a fully initialized YAFFI service container.
|
static ServiceContainer |
create(ServiceContainerConfiguration serviceManagerConfig,
org.apache.avalon.framework.context.Context context)
Create a fully initialized YAFFI service container
|
static boolean |
dispose(ServiceContainer container)
Disposes the container.
|
public ServiceContainerFactory()
public static ServiceContainer create(ServiceContainerConfiguration serviceManagerConfig) throws Exception
serviceManagerConfig - the configuration to useException - the creation failedpublic static ServiceContainer create(ServiceContainerConfiguration serviceManagerConfig, org.apache.avalon.framework.context.Context context) throws Exception
serviceManagerConfig - the configuration to usecontext - the context to useException - the creation failedpublic static boolean dispose(ServiceContainer container)
container - the container to be disposedCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.