congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Making http post requests using okhttp
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • Menu (java.awt)
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JOptionPane (javax.swing)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now