public class ServiceContainerFactory
extends java.lang.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 static ServiceContainer create(ServiceContainerConfiguration serviceManagerConfig) throws java.lang.Exception
serviceManagerConfig
- the configuration to usejava.lang.Exception
- the creation failedpublic static ServiceContainer create(ServiceContainerConfiguration serviceManagerConfig, org.apache.avalon.framework.context.Context context) throws java.lang.Exception
serviceManagerConfig
- the configuration to usecontext
- the context to usejava.lang.Exception
- the creation failedpublic static boolean dispose(ServiceContainer container)
container
- the container to be disposedCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.