S
- Service type of the object to be created by this factory.public interface Factory<S extends Service>
Service
factory.Modifier and Type | Method and Description |
---|---|
S |
create()
Creates an instance of the Service.
|
Class<S> |
getServiceClass()
Returns the class object representing the Service type of the object to
be created by this factory.
|
void |
onFactoryLoad()
Invoked by the framework just prior to calling
create() . |
S create()
Class<S> getServiceClass()
void onFactoryLoad()
create()
.Copyright © 2016. All rights reserved.