@Deprecated public class GuiceConfigurationBuilder extends AbstractConfigurationBuilder
Module
into this builder or provide a base search path that Mule will use to search the
classpath for any modules that implement Module
. The basepath is a path on the classpath.
Note for better performance, any basepath set should be qualified to your application. For example, if your application
has a package com.mycompany.app, its better to set the base path to 'com/mycompany/app' over 'com/' or '/' since they will
search everything on the classpath that matches the specified package.Modifier and Type | Field and Description |
---|---|
protected String |
basepath
Deprecated.
|
protected ClassLoader |
classLoader
Deprecated.
|
static String |
DEFAULT_PACKAGE
Deprecated.
|
protected com.google.inject.Module[] |
modules
Deprecated.
|
protected com.google.inject.Stage |
stage
Deprecated.
|
configured, logger
Constructor and Description |
---|
GuiceConfigurationBuilder()
Deprecated.
|
GuiceConfigurationBuilder(ClassLoader classLoader)
Deprecated.
|
GuiceConfigurationBuilder(com.google.inject.Module... modules)
Deprecated.
|
GuiceConfigurationBuilder(com.google.inject.Stage stage,
com.google.inject.Module... modules)
Deprecated.
|
GuiceConfigurationBuilder(String basepath)
Deprecated.
|
GuiceConfigurationBuilder(String basepath,
ClassLoader classLoader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doConfigure(MuleContext muleContext)
Deprecated.
Will configure a MuleContext based on the configuration provided.
|
protected List<com.google.inject.Module> |
getSystemModules(MuleContext muleContext)
Deprecated.
|
applyLifecycle, configure, isConfigured
public static final String DEFAULT_PACKAGE
protected String basepath
protected com.google.inject.Module[] modules
protected com.google.inject.Stage stage
protected ClassLoader classLoader
public GuiceConfigurationBuilder()
public GuiceConfigurationBuilder(ClassLoader classLoader)
public GuiceConfigurationBuilder(String basepath)
public GuiceConfigurationBuilder(String basepath, ClassLoader classLoader)
public GuiceConfigurationBuilder(com.google.inject.Module... modules)
public GuiceConfigurationBuilder(com.google.inject.Stage stage, com.google.inject.Module... modules)
protected void doConfigure(MuleContext muleContext) throws Exception
AbstractConfigurationBuilder
ConfigurationBuilder
implementation as bean properties before this method
has been called.doConfigure
in class AbstractConfigurationBuilder
muleContext
- The current MuleContext
ConfigurationException
- if the configuration fails i.e. an object cannot be created or
initialised properlyException
protected List<com.google.inject.Module> getSystemModules(MuleContext muleContext)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.