JBoss Modular Service Kernel API 1.0.0.CR2

org.jboss.msc
Annotation Type ServiceNamed


@Documented
@Retention(value=RUNTIME)
@Qualifier
public @interface ServiceNamed

A qualifier which identifies a specific MSC service.

Author:
David M. Lloyd
See Also:
Named

Required Element Summary
 String[] value
          The parts of this service name.
 

Element Detail

value

public abstract String[] value
The parts of this service name.

Example: @Inject @ServiceNamed({"org", "example", "category", "MyService"})

Returns:
the parts of the service name, parent first

JBoss Modular Service Kernel API 1.0.0.CR2

Copyright © 2011 JBoss, a division of Red Hat, Inc.