org.apache.tapestry5.ioc.annotations
Annotation Type ServiceId
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@UseWith(value={SERVICE,MODULE})
public @interface ServiceId
An optional annotation that may be placed on a service building method of a module, or on the implementation class
(when using service binding via the ServiceBinder). The annotation overrides the
default id for services (the default service id is the simple name of the service interface).
|
Required Element Summary |
java.lang.String |
value
An identifier of a service. |
value
public abstract java.lang.String value
- An identifier of a service.
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.