|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.ServiceDefImpl
public class ServiceDefImpl
| Method Summary | |
|---|---|
ObjectCreator |
createServiceCreator(ServiceBuilderResources resources)
Returns an ObjectCreator that can create the core service implementation. |
java.lang.Class |
getImplementationClass()
Returns the service implementation class. |
java.util.Set<java.lang.Class> |
getMarkers()
Returns an optional set of marker annotations. |
java.lang.String |
getServiceId()
Returns the service id, derived from the method name or the unqualified service interface name. |
java.lang.Class |
getServiceInterface()
Returns the service interface associated with this service. |
java.lang.String |
getServiceScope()
Returns the lifecycle defined for the service. |
boolean |
isEagerLoad()
Returns true if the service should be eagerly loaded at Registry startup. |
boolean |
isPreventDecoration()
Returns true if the service should not be decorated. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic ObjectCreator createServiceCreator(ServiceBuilderResources resources)
ServiceDefObjectCreator that can create the core service implementation.
createServiceCreator in interface ServiceDefresources - used to resolve dependencies of the service, or access its configuration
public java.lang.String getServiceId()
ServiceDef
getServiceId in interface ServiceDefpublic java.lang.Class getServiceInterface()
ServiceDef
getServiceInterface in interface ServiceDefpublic java.lang.String getServiceScope()
ServiceDefScope annotation to the service builder method for the service.
Services that are not proxied will ignore their scope; such services are always treated as singletons.
getServiceScope in interface ServiceDefServiceLifecycle,
ServiceLifecycleSourcepublic boolean isEagerLoad()
ServiceDef
isEagerLoad in interface ServiceDefEagerLoadpublic java.util.Set<java.lang.Class> getMarkers()
ServiceDef
getMarkers in interface ServiceDefpublic boolean isPreventDecoration()
ServiceDef2PreventServiceDecoration annotation is present.
isPreventDecoration in interface ServiceDef2public java.lang.Class getImplementationClass()
InternalServiceDef
getImplementationClass in interface InternalServiceDefnull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||