- Enclosing class:
public static interface Service.Provider
Inner interface that should be implemented if a class needs to
provide services other than by the default approach. Most often,
this is used by decorators to re-expose any services implemented
by the decorated object, but it may also be used to hide interfaces
that should not be exposed (e.g., if a subclass wishes to hide
interfaces implemented by its parent).
<T> T getService(Class<T> serviceClass)
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.