Tabnine Logo
WSFRuntime
Code IndexAdd Tabnine 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)

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-jboss500Beta4

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-jboss500x

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

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JList (javax.swing)
  • Top Vim plugins
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