|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sub-interface of org.apache.hivemind.ExtensionPoint
that defines a service extension point. A service may have
a single factory contribution, and any number of interceptor
contributions.
Method Summary | |
void |
forceServiceInstantiation()
Forces the service to be fully instantiated immediately, rather than lazily. |
Schema |
getParametersSchema()
Returns the Schema used to process any parameters
passed to the service. |
java.lang.Object |
getService(java.lang.Class interfaceClass)
Obtains the full service implementation for this service extension point, an object that implements the service interface. |
java.lang.Class |
getServiceInterface()
Returns the type of the service, the interface the service implements. |
org.apache.commons.logging.Log |
getServiceLog()
Returns the Log instance for this service point. |
Methods inherited from interface org.apache.hivemind.internal.ExtensionPoint |
getExtensionPointId, getModule |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
Method Detail |
public java.lang.Class getServiceInterface()
public java.lang.Object getService(java.lang.Class interfaceClass)
interfaceClass
- the class that the service will be cast to;
a check is made that the service is assignable to
the indicated interface. It does not have to, necessarily,
match the service interface (it could be a super-interface, for example).
org.apache.tapestry.ApplicationRuntimeException
- if there
is any problem creating the service.public Schema getParametersSchema()
Schema
used to process any parameters
passed to the service. Service implementation factories
and service interceptor factories allow parameters.
public void forceServiceInstantiation()
public org.apache.commons.logging.Log getServiceLog()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |