Class NamedBootstrapContext

java.lang.Object
org.jboss.jca.core.bootstrapcontext.BaseCloneableBootstrapContext
org.jboss.as.connector.services.bootstrap.NamedBootstrapContext
All Implemented Interfaces:
jakarta.resource.spi.BootstrapContext, Cloneable, org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext

public class NamedBootstrapContext extends org.jboss.jca.core.bootstrapcontext.BaseCloneableBootstrapContext
A named bootstrap context.
Author:
Jesper Pedersen
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Default BootstrapContext name
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
    NamedBootstrapContext(String name, String workManagerName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext
     
    Get the name
    void
    Set the name

    Methods inherited from class org.jboss.jca.core.bootstrapcontext.BaseCloneableBootstrapContext

    createTimer, getId, getTransactionSynchronizationRegistry, getWorkManager, getWorkManagerName, getXATerminator, isContextSupported, setId, setResourceAdapter, setTransactionSynchronizationRegistry, setWorkManager, setWorkManagerName, setXATerminator, shutdown

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • NamedBootstrapContext

      public NamedBootstrapContext(String name)
      Constructor
      Parameters:
      name - The name of the WorkManager
    • NamedBootstrapContext

      public NamedBootstrapContext(String name, String workManagerName)
  • Method Details

    • getName

      public String getName()
      Get the name
      Specified by:
      getName in interface org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext
      Overrides:
      getName in class org.jboss.jca.core.bootstrapcontext.BaseCloneableBootstrapContext
      Returns:
      The value
    • setName

      public void setName(String v)
      Set the name
      Overrides:
      setName in class org.jboss.jca.core.bootstrapcontext.BaseCloneableBootstrapContext
      Parameters:
      v - The value
    • clone

      public org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext
      Overrides:
      clone in class org.jboss.jca.core.bootstrapcontext.BaseCloneableBootstrapContext
      Throws:
      CloneNotSupportedException