| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 
 | 	public static synchronized ContentServerHandler getContentServerHandler() {
		if (null == contentServerHandler) {
			contentServerHandler = new ContentServerHandler();
		}
		return contentServerHandler;
	}
 
	/**
         * Méthode retournant un {@link AssetDataManager} permettant de requéter sur la base d'Asset.
         * 
         * @return l'instance en session de l'AssetDataManager.
         */
	public AssetDataManager getAssetDataManager() {
 
		Session ses = SessionFactory.newSession(user, pwd);
 
		return (AssetDataManager) ses.getManager(AssetDataManager.class.getName());
	} |