org.mvel2.asm.tree
Class ModuleProvideNode

java.lang.Object
  extended by org.mvel2.asm.tree.ModuleProvideNode

public class ModuleProvideNode
extends Object

A node that represents a service and its implementation provided by the current module.

Author:
Remi Forax

Field Summary
 List<String> providers
          The service provider names (in their internal form).
 String service
          The service name (in its internal form).
 
Constructor Summary
ModuleProvideNode(String service, List<String> providers)
          Constructs a new ModuleProvideNode.
 
Method Summary
 void accept(ModuleVisitor mv)
          Makes the given module visitor visit this require declaration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

public String service
The service name (in its internal form).


providers

public List<String> providers
The service provider names (in their internal form).

Constructor Detail

ModuleProvideNode

public ModuleProvideNode(String service,
                         List<String> providers)
Constructs a new ModuleProvideNode.

Parameters:
service - the service name (in its internal form).
providers - the service provider names (in their internal form).
Method Detail

accept

public void accept(ModuleVisitor mv)
Makes the given module visitor visit this require declaration.

Parameters:
mv - a module visitor.


Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.