Package org.apache.turbine.services
Class ServiceWithServiceInjection2
java.lang.Object
org.apache.turbine.services.BaseInitable
org.apache.turbine.services.BaseService
org.apache.turbine.services.TurbineBaseService
org.apache.turbine.services.FieldAnnotatedTurbineBaseService
org.apache.turbine.services.ServiceWithServiceInjection2
This service is used for testing 2nd level injection of services and class level declaration of
TurbineService (interface is optional).- Author:
- Georg Kallidis
-
Field Summary
Fields inherited from class org.apache.turbine.services.BaseService
configuration, name, serviceBrokerFields inherited from class org.apache.turbine.services.BaseInitable
initableBroker, isInitialized -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.turbine.services.TurbineBaseService
init, init, shutdownMethods inherited from class org.apache.turbine.services.BaseService
getConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBrokerMethods inherited from class org.apache.turbine.services.BaseInitable
getInit, getInitableBroker, setInit, setInitableBrokerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.turbine.services.Initable
getInit, setInitableBroker
-
Constructor Details
-
ServiceWithServiceInjection2
public ServiceWithServiceInjection2()
-
-
Method Details
-
init
Initializes the service.- Specified by:
initin interfaceInitable- Overrides:
initin classFieldAnnotatedTurbineBaseService- Throws:
InitializationException
-
callService
-