Codota Logo
BeanXMLDeployer.deploy
Code IndexAdd Codota to your IDE (free)

How to use
deploy
method
in
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer

Best Java code snippets using org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: org.hornetq/hornetq-bootstrap

/**
* Deploys a XML on the container
*/
public KernelDeployment deploy(final String name, final String xml) throws Throwable
{
 ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
 PrintStream printOut = new PrintStream(byteOut);
 printOut.print(xml);
 printOut.flush();
 ByteArrayInputStream is = new ByteArrayInputStream(byteOut.toByteArray());
 KernelDeployment deployment = deployer.deploy(name, is);
 deployments.add(deployment);
 return deployment;
}
origin: org.hornetq/hornetq-bootstrap

/**
* Deploy a url
*
* @param url the deployment url
* @throws Throwable for any error
*/
private KernelDeployment deploy(final URL url) throws Throwable
{
 HornetQBootstrapLogger.LOGGER.debug("Deploying " + url);
 KernelDeployment deployment = deployer.deploy(url);
 deployments.add(deployment);
 HornetQBootstrapLogger.LOGGER.debug("Deployed " + url);
 return deployment;
}
origin: org.jboss.microcontainer/jboss-kernel

deploy(deployment);
origin: org.jboss.microcontainer/jboss-kernel

  /**
  * Deploy a stream.  We may be deploying XML fragments.
  *
  * @param deploymentName the deployment name
  * @param stream the stream
  * @return the kernel deployment
  * @throws Throwable for any error
  */
  public KernelDeployment deploy(String deploymentName, final InputStream stream) throws Throwable
  {
   boolean trace = log.isTraceEnabled();

   if (trace)
     log.trace("Parsing " + deploymentName);
   Unmarshaller unmarshaller = factory.newUnmarshaller();
   KernelDeployment deployment = (KernelDeployment) unmarshaller.unmarshal(stream, resolver);
   if (deployment == null)
     throw new RuntimeException("The deployment " + deploymentName + " is not well formed!");
   deployment.setName(deploymentName);

   if (trace)
     log.trace("Deploying " + deployment);
   deploy(deployment);
   if (trace)
     log.trace("Deployed " + deployment.getInstalledContexts());

   return deployment;
  }
}
origin: org.gatein.common/common-mc

deployment = deployer.deploy(url);
deployer.validate(deployment);
org.jboss.kernel.plugins.deployment.xmlBeanXMLDeployerdeploy

Javadoc

Deploy a stream. We may be deploying XML fragments.

Popular methods of BeanXMLDeployer

  • <init>
    Create a new XML kernel deployer
  • undeploy
  • validate

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
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