|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Container for the service implementation. This is a mapping from service-interface to the service-implementation. The service instance exist once. They must be Thread safe.
| Method Summary | |
void |
addService(java.lang.String pvServiceInterfaceName,
java.lang.Object pvServiceImpl)
Add service implementation. |
void |
addService(java.lang.String pvServiceInterfaceName,
java.lang.String pvServiceImplName)
Create a instance from the service impl class name. |
java.lang.Object |
getService(java.lang.String pvServiceInterfaceName)
Find the service impl. |
int |
getServiceSize()
Size of services in the container. |
void |
removeService(java.lang.String pvServiceInterfaceName)
Remove the service from the container. |
| Method Detail |
public void addService(java.lang.String pvServiceInterfaceName,
java.lang.Object pvServiceImpl)
pvServiceInterfaceName - Is the key in a map.pvServiceImpl - Is the value in a map.
public void addService(java.lang.String pvServiceInterfaceName,
java.lang.String pvServiceImplName)
pvServiceInterfaceName - Is the key in a map.pvServiceImplName - Is the class name from the service impl.public void removeService(java.lang.String pvServiceInterfaceName)
pvServiceInterfaceName - Is the key in a map.public java.lang.Object getService(java.lang.String pvServiceInterfaceName)
pvServiceInterfaceName - Is the key in a map.
null.public int getServiceSize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||