|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.services.dao.DaoServiceEnvironment
public class DaoServiceEnvironment
ServiceEnvironment implementation to provide access to a
toolbox.dao.DaoManager implementation.
| Constructor Summary | |
|---|---|
DaoServiceEnvironment()
Default constructor |
|
| Method Summary | |
|---|---|
void |
create(java.lang.String name,
java.lang.String config)
Create and set the DaoManager for this environment. |
void |
destroy()
Destroy this environment by destroying the member DaoManager. |
DaoManager |
getDaoManager()
Return the member DaoManager. |
java.lang.String |
getName()
Return the name of this environment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DaoServiceEnvironment()
| Method Detail |
|---|
public void create(java.lang.String name,
java.lang.String config)
throws ServiceException
DaoManager for this environment.
create in interface ServiceEnvironmentname - The name of the environment.config - The location of the environment configuration.
ServiceException - if the environment cannot be created.public java.lang.String getName()
getName in interface ServiceEnvironmentpublic DaoManager getDaoManager()
public void destroy()
throws ServiceException
destroy in interface ServiceEnvironmentServiceException - if this environment cannot be destroyed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||