|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LicensingFacadePluginFactory
This class intended to create plug-ins for the LocalLicensingFacade
| Method Summary | |
|---|---|
void |
close()
Releases the factory instance. |
LicensingFacadePlugin |
create(LocalLicensingFacade aLicensingFacade)
Creates a new instance of the LicensingFacadePlugin. |
void |
init()
Initializes the factory instance |
void |
release(LicensingFacadePlugin aLicensingFacadePlugin)
Releases plug-in that has been created by the factory. Please note: there is no guarantee that this method will be called as it is depends on the finalize() method calls . |
| Method Detail |
|---|
LicensingFacadePlugin create(LocalLicensingFacade aLicensingFacade)
LicensingFacadePlugin. Actual implementation
is also responsible for the proper initialization of the plug-in by calling its init(...) method.
aLicensingFacade - facade instance to create plug-in to
LicensingFacadePluginvoid release(LicensingFacadePlugin aLicensingFacadePlugin)
finalize() method calls .
It is better to let plug-in not to hold any resources which would needed to be
released or registered with the factory. Developer should write code in the close()
method which is required to release such resources.
aLicensingFacadePlugin - plug-in instance to release.void init()
void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||