Interface ServiceAware

All Known Implementing Classes:
Bank, WSProxyService

public interface ServiceAware

ServiceAware is an injector interface that will supply a Service to the object. This interface should be implemented by services managed by Mule that want to receive their Service instance. The Service will be set before any initialisation method is called. i.e. if the service implements org.mule.api.lifecycle.Initialisable, the descriptor will be set before initialise() method is called.

See Also:
Initialisable, Service

Method Summary
 void setService(Service service)

Method Detail


void setService(Service service)

Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.