Codota Logo
LoaderRepositoryConfigHelper.create
Code IndexAdd Codota to your IDE (free)

How to use
create
method
in
org.jboss.system.deployers.LoaderRepositoryConfigHelper

Best Java code snippets using org.jboss.system.deployers.LoaderRepositoryConfigHelper.create (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.jboss.deployers/jboss-deployers-jmx

/**
* Populate the deployment's classloading metadata from a loader repository config
* with parent delegation false.
* 
* @param unit the deployment unit
* @param loaderConfig the loader repository config
* @return the classloading metadata
* @throws DeploymentException for any error
*/
public static ClassLoadingMetaData create(DeploymentUnit unit, LoaderRepositoryConfig loaderConfig) throws DeploymentException
{
 return create(unit, loaderConfig, false);
}
origin: org.jboss.deployers/jboss-deployers-jmx

/**
* Create classloading metadata from a loader repository config
* with parent delegation false
* 
* @param deploymentName the deployment name
* @param loaderConfig the loader repository config
* @return the classloading metadata
* @throws DeploymentException for any error
*/
public static ClassLoadingMetaData create(String deploymentName, LoaderRepositoryConfig loaderConfig) throws DeploymentException
{
 return create(deploymentName, loaderConfig, false);
}
origin: org.jboss.deployers/jboss-deployers-jmx

  @Override
  public void deploy(DeploymentUnit unit, ServiceDeployment metaData) throws DeploymentException
  {
   ClassLoadingMetaData classLoadingMetaData = unit.getAttachment(ClassLoadingMetaData.class);
   if (classLoadingMetaData != null)
     return;

   LoaderRepositoryConfig config = metaData.getLoaderRepositoryConfig();
   if (config != null)
     LoaderRepositoryConfigHelper.create(unit, config);
  }
}
origin: org.jboss.jbossas/jboss-as-connector

  public void deploy(DeploymentUnit unit, ManagedConnectionFactoryDeploymentGroup deployment) throws DeploymentException
  {
   ClassLoadingMetaData classLoadingMetaData = unit.getAttachment(ClassLoadingMetaData.class);
   if (classLoadingMetaData != null)
     return;
   
   LoaderRepositoryConfig loaderConfig = deployment.getLoaderRepositoryConfig();
   if (loaderConfig == null)
     return;

   LoaderRepositoryConfigHelper.create(unit, loaderConfig);
  }
}
origin: org.jboss.deployers/jboss-deployers-jmx

/**
* Populate the deployment's classloading metadata from a loader repository config
* 
* @param unit the deployment unit
* @param loaderConfig the loader repository config
* @param parentDelegation the default value for parent delegation
* @return the classloading metadata
* @throws DeploymentException for any error
*/
public static ClassLoadingMetaData create(DeploymentUnit unit, LoaderRepositoryConfig loaderConfig, boolean parentDelegation) throws DeploymentException
{
 if (unit == null)
   throw new IllegalArgumentException("Null unit");
 
 ClassLoadingMetaData clmd = unit.getAttachment(ClassLoadingMetaData.class);
 if (clmd != null)
   return clmd;
 
 clmd = create(unit.getName(), loaderConfig, parentDelegation);
 if (clmd != null)
   unit.addAttachment(ClassLoadingMetaData.class, clmd);
 return clmd;
}
origin: org.jboss.jbossas/jboss-as-server

return LoaderRepositoryConfigHelper.create(name, repositoryConfig, parentDelegation);
org.jboss.system.deployersLoaderRepositoryConfigHelpercreate

Javadoc

Create classloading metadata from a loader repository config with parent delegation false

Popular methods of LoaderRepositoryConfigHelper

    Popular in Java

    • Creating JSON documents from java classes using gson
    • addToBackStack (FragmentTransaction)
    • runOnUiThread (Activity)
    • findViewById (Activity)
    • MalformedURLException (java.net)
      Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
    • Date (java.sql)
      A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
    • SimpleDateFormat (java.text)
      Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
    • ExecutorService (java.util.concurrent)
      An Executor that provides methods to manage termination and methods that can produce a Future for tr
    • Response (javax.ws.rs.core)
      Defines the contract between a returned instance and the runtime when an application needs to provid
    • IsNull (org.hamcrest.core)
      Is the value null?
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now