incubator-imperius-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wood <daw...@us.ibm.com>
Subject Re: fw: Problem with JavaSPL
Date Wed, 27 Oct 2010 18:40:08 GMT
There is a singleton pattern being used.  Try using 
Java_SPLPolicyRuleProvider.getInstance().

    public static synchronized Java_SPLPolicyRuleProvider getInstance() 
throws SPLException

David Wood 
Computing Systems for Wireless Networks
IBM TJ Watson Research Center
dawood@us.ibm.com
914-784-5123 (office), 914-396-6515 (mobile)




From:
Neeraj Joshi/Durham/IBM@IBMUS
To:
nicola carminati <djnik88@hotmail.it>
Cc:
imperius-dev@incubator.apache.org
Date:
10/27/2010 02:07 PM
Subject:
fw: Problem with JavaSPL



David,
Did we move to a factory based methodology ? Can you please comment

Thanks
Neeraj
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"It is hard enough to remember my opinions, without also remembering my 
reasons for them". -Friedrich Wilhelm Nietzsche

Neeraj Joshi (knee-rudge)
WebSphere XD - Compute Grid
AIM, IBM
Apache Imperius - http://incubator.apache.org/imperius
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From:
nicola carminati <djnik88@hotmail.it>
To:
Neeraj Joshi/Durham/IBM@IBMUS
Date:
10/27/2010 12:42 PM
Subject:
Problem with JavaSPL



Dear Neeraj Joshi, 
we have some problems with java-spl plugin. We try to compile your example 

(http://www.ibm.com/developerworks/autonomic/library/ac-spl/)
and we have a trouble. Can you help us?

the error is in this instruction: 

Java_SPLPolicyRuleProvider jspl = new Java_SPLPolicyRuleProvider();

the constructor is private.

In the attachement there is our eclipse project.
Thank you so much.
B.R. 
 
Andrea Busi 
Nicola Carminati 
Marco Santacatterina [attachment "policySanta.rar" deleted by Neeraj 
Joshi/Durham/IBM] 




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message