congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ServiceMetaData.getAttributes
Code IndexAdd Tabnine to your IDE (free)

How to use
getAttributes
method
in
org.jboss.system.metadata.ServiceMetaData

Best Java code snippets using org.jboss.system.metadata.ServiceMetaData.getAttributes (Showing top 9 results out of 315)

origin: org.jboss.microcontainer/jboss-jmx-mc-int

public void installAction(ServiceControllerContext context) throws Throwable
{
 ServiceController controller = context.getServiceController();
 ObjectName objectName = context.getObjectName();
 // Configure any attributes
 ServiceMetaData metaData = context.getServiceMetaData();
 if (metaData != null)
 {
   List<ServiceAttributeMetaData> attrs = metaData.getAttributes();
   if (attrs.size() > 0)
   {
    ObjectName classLoaderName = metaData.getClassLoaderName(); 
    ServiceConfigurator.configure(null, controller, objectName, classLoaderName, attrs);
   }
 }
 
 context.getServiceContext().state = ServiceContext.CONFIGURED;
}
origin: org.jboss.kernel/jboss-jmx-mc-int

  /**
  * Unconfigure the mbean.
  * Unget values - releasing potential injections.
  * 
  * @param context The ServiceControllerContext we are uninstalling
  */
  public void uninstallAction(ServiceControllerContext context)
  {
   // Unconfigure any attributes
   ServiceMetaData metaData = context.getServiceMetaData();
   if (metaData != null)
   {
     ServiceController controller = context.getServiceController();
     ObjectName objectName = context.getObjectName();

     List<ServiceAttributeMetaData> attrs = metaData.getAttributes();
     if (attrs.size() > 0)
     {
      ObjectName classLoaderName = metaData.getClassLoaderName();
      try
      {
        ServiceConfigurator.unconfigure(null, controller, objectName, classLoaderName, attrs);
      }
      catch (Exception ignored)
      {
      }
     }
   }
  }
}
origin: org.jboss.kernel/jboss-jmx-mc-int

Collection<ServiceAttributeMetaData> attrs = metaData.getAttributes();
origin: org.jboss.microcontainer/jboss-jmx-mc-int

Collection<ServiceAttributeMetaData> attrs = metaData.getAttributes();
origin: org.jboss.kernel/jboss-jmx-mc-int

/**
* Configures the MBean instance with values from the ServiceMetaData.
* 
* @param context The ServiceControllerContext we are installing
*/
public void installAction(ServiceControllerContext context) throws Throwable
{
 // Configure any attributes
 ServiceMetaData metaData = context.getServiceMetaData();
 if (metaData != null)
 {
   ServiceController controller = context.getServiceController();
   ObjectName objectName = context.getObjectName();
   List<ServiceAttributeMetaData> attrs = metaData.getAttributes();
   if (attrs.size() > 0)
   {
    ObjectName classLoaderName = metaData.getClassLoaderName(); 
    ServiceConfigurator.configure(null, controller, objectName, classLoaderName, attrs);
   }
 }
 
 context.getServiceContext().state = ServiceContext.CONFIGURED;
}
origin: org.jboss.kernel/jboss-jmx-mc-int

List<ServiceAttributeMetaData> attributes = metaData.getAttributes();
if(attributes != null && ! attributes.isEmpty())
origin: org.jboss.microcontainer/jboss-jmx-mc-int

List<ServiceAttributeMetaData> attributes = metaData.getAttributes();
if(attributes != null && ! attributes.isEmpty())
origin: org.jboss.deployers/jboss-deployers-jmx

for (ServiceAttributeMetaData amd : md.getAttributes())
origin: org.jboss.deployers/jboss-deployers-jmx

for (ServiceAttributeMetaData amd : md.getAttributes())
org.jboss.system.metadataServiceMetaDatagetAttributes

Javadoc

Get the attributes.

Popular methods of ServiceMetaData

  • getObjectName
    Get the objectName.
  • <init>
  • setObjectName
    Set the objectName.
  • addAttribute
    Add an attribute
  • getCode
    Get the code.
  • setAttributes
    Set the attributes.
  • setCode
    Set the code.
  • setConstructor
    Set the constructor.
  • setDependencies
    Set the dependencies.
  • addDependency
    Add dependency
  • getAnnotations
    Get the service annotations
  • getClassLoaderName
    Get the classLoaderName.
  • getAnnotations,
  • getClassLoaderName,
  • getAliases,
  • getConstructor,
  • getDependencies,
  • getInterfaceName,
  • getMode,
  • getXMBeanCode,
  • getXMBeanDD

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JList (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for WebStorm
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