Codota Logo
WSFRuntime
Code IndexAdd Codota to your IDE (free)

How to use
WSFRuntime
in
org.jboss.wsf.spi

Best Java code snippets using org.jboss.wsf.spi.WSFRuntime (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: org.jboss.ws/jbossws-jboss423x

public void deploy(DeploymentInfo unit) throws DeploymentException
{
 if (ignoreDeployment(unit))
   return;
 if (isWebServiceDeployment(unit))
 {
   log.debug("deploy: " + unit.shortName);
   Deployment dep = getDeployment(unit);
   if (dep == null)
   {
    dep = createDeployment(unit);
    dep.addAttachment(DeploymentInfo.class, unit);
   }
   getRuntime().create(dep);         
      unit.context.put(Deployment.class, dep);
 }
}
origin: org.jboss.ws/jbossws-jboss421

public void undeploy(DeploymentInfo unit)
{
 if (ignoreDeployment(unit))
   return;
 Deployment dep = getDeployment(unit);
 if (dep != null)
 {
   log.debug("undeploy: " + unit.shortName);
   getRuntime().stop(dep);
   getRuntime().destroy(dep);
 }
}
origin: org.jboss.ws/jbossws-jboss423x

  public void deploy(DeploymentInfo unit) throws DeploymentException
  {
   if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
   {
     super.deploy(unit); // Calls create
          log.debug("deploy: " + unit.shortName);
     Deployment dep = getDeployment(unit);
     if (dep == null  || (dep.getState() != Deployment.DeploymentState.CREATED) )
      throw new DeploymentException("Create step failed");

     getRuntime().start(dep);         

     unit.context.put(Deployment.class, dep);
   }
  }
}
origin: org.jboss.ws/jbossws-jboss421

WSFRuntime runtime = locator.locateRuntime(runtimeName);
runtime.create(dep);
runtime.start(dep);
origin: org.jboss.ws/jbossws-jboss423x

WSFRuntime runtime = locator.locateRuntime(runtimeName);
runtime.create(dep);         
runtime.start(dep);
origin: org.jboss.ws/jbossws-jboss423x

public void undeploy(DeploymentInfo unit)
{
 if (ignoreDeployment(unit))
   return;
 Deployment dep = getDeployment(unit);
 if (dep != null)
 {
   log.debug("undeploy: " + unit.shortName);
   getRuntime().stop(dep);
   getRuntime().destroy(dep);
 }
}
origin: org.jboss.ws/jbossws-jboss500x

runtime.create(dep);  
runtime.start(dep);  
origin: org.jboss.ws/jbossws-jboss421

  public void deploy(DeploymentInfo unit) throws DeploymentException
  {
   if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
   {
     super.deploy(unit); // Calls create

     log.debug("deploy: " + unit.shortName);
     Deployment dep = getDeployment(unit);
     if (dep == null  || (dep.getState() != Deployment.DeploymentState.CREATED) )
      throw new DeploymentException("Create step failed");

     getRuntime().start(dep);

     unit.context.put(Deployment.class, dep);
   }
  }
}
origin: org.jboss.ws/jbossws-jboss421

public void deploy(DeploymentInfo unit) throws DeploymentException
{
 if (ignoreDeployment(unit))
   return;
 if (isWebServiceDeployment(unit))
 {
   log.debug("deploy: " + unit.shortName);
   Deployment dep = getDeployment(unit);
   if (dep == null)
   {
    dep = createDeployment(unit);
    dep.addAttachment(DeploymentInfo.class, unit);
   }
   getRuntime().create(dep);
   unit.context.put(Deployment.class, dep);
 }
}
origin: org.jboss.ws/jbossws-jboss500Beta4

/**
* Executes the stop() and destroy() lifecycles
* @param unit
*/
public void undeploy(DeploymentUnit unit)
{
 if (ignoreDeployment(unit))
   return;
 Deployment dep = getDeployment(unit);
 if (dep != null)
 {
   log.debug("undeploy: " + unit.getName());
   getWsfRuntime().stop(dep);
   getWsfRuntime().destroy(dep);
 }
}
origin: org.jboss.ws/jbossws-jboss500Beta4

runtime.create(dep);  
runtime.start(dep);  
origin: org.jboss.ws/jbossws-jboss423x

public void deploy(DeploymentInfo unit) throws DeploymentException
{
 if (ignoreDeployment(unit))
   return;
 if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
 {
   log.debug("deploy: " + unit.shortName);
   Deployment dep = getDeployment(unit);
   if (null == dep || Deployment.DeploymentState.CREATED != dep.getState())
    throw new DeploymentException("Create step failed");
     getRuntime().start(dep);                  
 }
}
origin: org.jboss.ws/jbossws-jboss500Beta4

/**
* Executes the 'create' step only. <br/>
* Subclasses need to take care that the 'start' step is executed as well.          
*/
public void deploy(DeploymentUnit unit) throws DeploymentException
{
 if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
 {
   log.debug("deploy: " + unit.getName());
      Deployment dep = getDeployment(unit);
   if (dep == null)
   {
    dep = createDeployment(unit);
    dep.addAttachment(DeploymentUnit.class, unit);
   }
   if(Deployment.DeploymentState.UNDEFINED == dep.getState())
   {
    getWsfRuntime().create(dep); 
    unit.addAttachment(Deployment.class, dep);
   }
   else
   {
    throw new IllegalArgumentException("Cannot process Deployment in state " + dep.getState() + ": " + dep);
   }
 }
}
origin: org.jboss.ws/jbossws-jboss500x

/**
* Executes the stop() and destroy() lifecycles
* @param unit
*/
public void undeploy(DeploymentUnit unit)
{
 if (ignoreDeployment(unit))
   return;
 Deployment dep = getDeployment(unit);
 if (dep != null)
 {
   log.debug("undeploy: " + unit.getName());
   getWsfRuntime().stop(dep);
   getWsfRuntime().destroy(dep);
 }
}
origin: org.jboss.ws/jbossws-jboss423x

public void deploy(DeploymentInfo unit) throws DeploymentException
{
 if (ignoreDeployment(unit))
   return;
 if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
 {
   log.debug("deploy: " + unit.shortName);
   Deployment dep = getDeployment(unit);
   if(null==dep || Deployment.DeploymentState.CREATED != dep.getState())
    throw new DeploymentException("Create step is missing");
   getRuntime().start(dep);
 }
}
origin: org.jboss.ws/jbossws-jboss500x

/**
* Executes the 'create' step only. <br/>
* Subclasses need to take care that the 'start' step is executed as well.          
*/
public void deploy(DeploymentUnit unit) throws DeploymentException
{
 if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
 {
   log.debug("deploy: " + unit.getName());
   Deployment dep = getDeployment(unit);
   if (dep == null)
   {
    dep = createDeployment(unit);
    dep.addAttachment(DeploymentUnit.class, unit);
   }
   if(Deployment.DeploymentState.UNDEFINED == dep.getState())
   {
    getWsfRuntime().create(dep); 
    unit.addAttachment(Deployment.class, dep);
   }
   else
   {
    throw new IllegalArgumentException("Cannot process Deployment in state " + dep.getState() + ": " + dep);
   }
 }
}
origin: org.jboss.ws/jbossws-jboss421

public void deploy(DeploymentInfo unit) throws DeploymentException
{
 if (ignoreDeployment(unit))
   return;
 if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
 {
   log.debug("deploy: " + unit.shortName);
   Deployment dep = getDeployment(unit);
   if (null == dep || Deployment.DeploymentState.CREATED != dep.getState())
    throw new DeploymentException("Create step failed");
   getRuntime().start(dep);
 }
}
origin: org.jboss.ws/jbossws-jboss421

public void deploy(DeploymentInfo unit) throws DeploymentException
{
 if (ignoreDeployment(unit))
   return;
 if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
 {
   log.debug("deploy: " + unit.shortName);
   Deployment dep = getDeployment(unit);
   if(null==dep || Deployment.DeploymentState.CREATED != dep.getState())
    throw new DeploymentException("Create step is missing");
   getRuntime().start(dep);
 }
}
origin: org.jboss.ws/jbossws-jboss500Beta4

/**
* Expects the 'create' step to be executed in
* {@link org.jboss.wsf.container.jboss50.deployer.JAXRPCDeployerHookPreJSE}
* and executes the 'start' step.
*
*/
public void deploy(DeploymentUnit unit) throws DeploymentException
{
 if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
 {
   Deployment dep = getDeployment(unit);
   if(null==dep || DeploymentState.CREATED != dep.getState())
    throw new DeploymentException("Create step is missing");
   // execute the 'start' step
   getWsfRuntime().start(dep);          
 }
}
origin: org.jboss.ws/jbossws-jboss500Beta4

/**
* Expects the 'create' step to be executed in
* {@link org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE} and
* executes the 'start' step.
*
*/
public void deploy(DeploymentUnit unit) throws DeploymentException
{
 if (!ignoreDeployment(unit) && isWebServiceDeployment(unit))
 {
   Deployment dep = getDeployment(unit);
   if (null == dep || DeploymentState.CREATED != dep.getState())
    throw new DeploymentException("Create step failed");
   // execute the 'start' step
   getWsfRuntime().start(dep);
 }
}
org.jboss.wsf.spiWSFRuntime

Most used methods

  • create
  • destroy
  • start
  • stop

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • findViewById (Activity)
  • getSystemService (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JFileChooser (javax.swing)
  • JPanel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
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