Tabnine Logo
org.mule.runtime.container.api
Code IndexAdd Tabnine to your IDE (free)

How to use org.mule.runtime.container.api

Best Java code snippets using org.mule.runtime.container.api (Showing top 20 results out of 315)

origin: mulesoft/mule

/**
 * @return relative path for shared libraries on an application
 */
public static String getAppSharedLibsFolderPath() {
 return getAppLibsFolderPath() + SHARED_FOLDER + separator;
}
origin: mulesoft/mule

 @Override
 public List<MuleModule> getModules() {
  return moduleRepository.getModules();
 }
}
origin: mulesoft/mule

/**
 * Creates a new instance that discover services from Mule Runtime services folder.
 *
 * @param containerClassLoader               container artifact classLoader. Non null.
 * @param serviceClassLoaderFactory          factory used to create service's classloaders. Non null.
 * @param descriptorLoaderRepository         contains all the {@link ClassLoaderModelLoader} registered on the container. Non null
 * @param artifactDescriptorValidatorBuilder {@link ArtifactDescriptorValidatorBuilder} to create the {@link org.mule.runtime.module.artifact.api.descriptor.ArtifactDescriptorValidator} in order to check the state of the descriptor once loaded.
 */
public FileSystemServiceProviderDiscoverer(ArtifactClassLoader containerClassLoader,
                      ArtifactClassLoaderFactory<ServiceDescriptor> serviceClassLoaderFactory,
                      DescriptorLoaderRepository descriptorLoaderRepository,
                      ArtifactDescriptorValidatorBuilder artifactDescriptorValidatorBuilder) {
 this(containerClassLoader, serviceClassLoaderFactory, descriptorLoaderRepository, artifactDescriptorValidatorBuilder,
    () -> MuleFoldersUtil.getServicesFolder());
}
origin: mulesoft/mule

/**
 * @return a {@link File} pointing to the container folder used to temporarily store the exported module services for SPI.
 */
public static File getModulesTempFolder() {
 return new File(getExecutionFolder(), MODULES_FOLDER);
}
origin: mulesoft/mule

/**
 * @return a {@link File} pointing to the container folder that contains services.
 */
public static File getServicesFolder() {
 return new File(getMuleBaseFolder(), SERVICES_FOLDER);
}
origin: mulesoft/mule

@Override
protected File getArtifactFolder() {
 return getDomainFolder(ARTIFACT_NAME);
}
origin: mulesoft/mule

/**
 * @param appName name of the application to look for
 * @return the shared libraries folder in the deployed application with the given name
 */
public static File getAppSharedLibsFolder(String appName) {
 return new File(getAppFolder(appName), getAppSharedLibsFolderPath());
}
origin: mulesoft/mule

/**
 * @param appName name of the application to look for
 * @return the libraries folder in the deployed application with the given name
 */
public static File getAppLibFolder(String appName) {
 return new File(getAppFolder(appName), getAppLibsFolderPath());
}
origin: mulesoft/mule

/**
 * @param appName name of the application to look for
 * @return the plugins folder in the deployed application with the given name
 */
public static File getAppPluginsFolder(String appName) {
 return new File(getAppFolder(appName), getAppPluginsFolderPath());
}
origin: mulesoft/mule

@Override
protected File getArtifactFolder() {
 return getAppFolder(ARTIFACT_NAME);
}
origin: mulesoft/mule

 /**
  * Creates a module with the configured state
  *
  * @return a new {@link MuleModule} with the configured state.
  */
 public MuleModule build() {
  return new MuleModule(name, packages, resources, emptySet(), emptySet(), emptyList());
 }
}
origin: mulesoft/mule

 @Override
 public int compare(MuleCoreExtension coreExtension1, MuleCoreExtension coreExtension2) {
  return coreExtension1.getName().compareTo(coreExtension2.getName());
 }
});
origin: mulesoft/mule

public void addCoreExtension(MuleCoreExtension coreExtension) {
 coreExtension.setContainerClassLoader(containerClassLoader);
 coreExtensions.add(coreExtension);
}
origin: mulesoft/mule

 @MuleCoreExtensionDependency
 public void setTestCoreExtension(TestCoreExtension coreExtension) {
 }
}
origin: mulesoft/mule

/**
 * @return a {@link File} pointing to the container folder used to temporarily store services on deployment
 */
public static File getServicesTempFolder() {
 return new File(getExecutionFolder(), SERVICES_FOLDER);
}
origin: mulesoft/mule

/**
 * @return the runtime repository folder for maven artifacts.
 */
private static File getRuntimeRepositoryFolder() {
 return new File(MuleFoldersUtil.getMuleBaseFolder(), "repository");
}
origin: mulesoft/mule

 @MuleCoreExtensionDependency
 void setTestCoreExtension(TestCoreExtension coreExtension);
}
origin: mulesoft/mule

/**
 * @return a {@link File} pointing to the folder where the server configuration is located.
 */
public static File getConfFolder() {
 return new File(getMuleBaseFolder(), CONF);
}
origin: mulesoft/mule

 @MuleCoreExtensionDependency
 void setTestCoreExtension(TestCoreExtension coreExtension);
}
origin: mulesoft/mule

/**
 * @return relative path for libraries on an application
 */
public static File getExecutionFolder() {
 return new File(getMuleBaseFolder(), EXECUTION_FOLDER);
}
org.mule.runtime.container.api

Most used classes

  • MuleFoldersUtil
  • ModuleRepository
  • MuleModule
  • MuleCoreExtension
  • ArtifactClassLoaderManagerAware
  • MuleCoreExtensionDependency
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now