Fixes scope for sp session bean. Fixes log statements.
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / pz2utils4jsf / pazpar2 / Pz2Bean.java
index 345f049..5838626 100644 (file)
@@ -37,20 +37,17 @@ public class Pz2Bean implements Pz2Interface, Serializable {
     \r
   public Pz2Bean () {\r
     logger.info("Instantiating pz2 bean [" + Utils.objectId(this) + "]");\r
-    logger.debug("in Pz2Bean configurator is " + configurator);\r
   }\r
   \r
   @PostConstruct\r
   public void instantiatePz2SessionObject() {    \r
     logger.debug("in start of Pz2Bean post-construct configurator is " + configurator);\r
-    logger.debug(Utils.objectId(this) + " will instantiate a Pz2Session next.");\r
+    logger.debug(Utils.objectId(this) + " will instantiate a Pz2Client next.");\r
     searchClient = new Pz2Client();\r
     logger.info("Using [" + Utils.objectId(searchClient) + "] configured by [" \r
                           + Utils.objectId(configurator) + "] on session [" \r
                           + Utils.objectId(pz2) + "]" );    \r
     pz2.configureClient(searchClient,configurator);    \r
-    logger.debug("in end of Pz2Bean post-construct configurator is " + configurator);\r
-\r
   }  \r
   \r
   /* (non-Javadoc)\r