public abstract class AbstractFactory<A,B,C,D> extends Object implements Factory<C>
Constructor and Description |
---|
AbstractFactory() |
Modifier and Type | Method and Description |
---|---|
void |
dispose(C killMe)
This method will dispose of objects created with this scope.
|
abstract A |
getA() |
abstract B |
getB() |
abstract C |
getC() |
abstract D |
getD() |
C |
provide()
This method will create instances of the type of this factory.
|
public abstract A getA()
public abstract B getB()
public abstract C getC()
public abstract D getD()
@Singleton public C provide()
Factory
Copyright © 2009–2023 Oracle Corporation. All rights reserved.