Re: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Scott M Stark

Do it, this is something we have been missing for a while.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message - 
From: Bill Burke [EMAIL PROTECTED]
To: Jboss-Dev [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 8:44 AM
Subject: [JBoss-dev] you can't configure interceptors...


 After looking at EJBModule, there doesn't seem to be a way to pass
 configuration information to Interceptors.  I'm going to put this in if
 nobody objects.
 
 
 Bill
 



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Bill Burke

To minimize changes, you'll have to extract config information from XML
attributes, ok?  Otherwise we fuck up everybody's container configurations.

i.e
container-interceptors
  interceptor config1=hello
config2=worldorg.jboss.some.fucking.interceptor/interceptor
/container-interceptors

ehMaybe I'm just being lazy...

(BTW, this is for 4.0)

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Scott
 M Stark
 Sent: Tuesday, August 13, 2002 12:08 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] you can't configure interceptors...


 Do it, this is something we have been missing for a while.

 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 - Original Message -
 From: Bill Burke [EMAIL PROTECTED]
 To: Jboss-Dev [EMAIL PROTECTED]
 Sent: Tuesday, August 13, 2002 8:44 AM
 Subject: [JBoss-dev] you can't configure interceptors...


  After looking at EJBModule, there doesn't seem to be a way to pass
  configuration information to Interceptors.  I'm going to put this in if
  nobody objects.
 
 
  Bill




 ---
 This sf.net email is sponsored by: Dice - The leading online job board
 for high-tech professionals. Search and apply for tech jobs today!
 http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Jason Dillon

I had played around with making allowing interceptors to implement
XmlLoadable, but discarded it as I had made to many changes to other
bits to test it properly.

The only major change I had to make was to use attributes for class
names:

 interceptor class=some.package.Interceptor
   param name=blahBlah/param
 /interceptor

It was fairly easy to implement... only changing all of the config files
was a bit of a bitch.

--jason


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:jboss-
 [EMAIL PROTECTED]] On Behalf Of Bill Burke
 Sent: Tuesday, August 13, 2002 8:45 AM
 To: Jboss-Dev
 Subject: [JBoss-dev] you can't configure interceptors...
 
 After looking at EJBModule, there doesn't seem to be a way to pass
 configuration information to Interceptors.  I'm going to put this in
if
 nobody objects.
 
 
 Bill
 
 
 
 ---
 This sf.net email is sponsored by: Dice - The leading online job board
 for high-tech professionals. Search and apply for tech jobs today!
 http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Jason Dillon

I think it would be better to fix the config and migrate than to create
confusing configuration.  I don't believe that legacy support should
prevent change.

--jason


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:jboss-
 [EMAIL PROTECTED]] On Behalf Of Bill Burke
 Sent: Tuesday, August 13, 2002 9:43 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-dev] you can't configure interceptors...
 
 To minimize changes, you'll have to extract config information from
XML
 attributes, ok?  Otherwise we fuck up everybody's container
 configurations.
 
 i.e
 container-interceptors
   interceptor config1=hello
 config2=worldorg.jboss.some.fucking.interceptor/interceptor
 /container-interceptors
 
 ehMaybe I'm just being lazy...
 
 (BTW, this is for 4.0)
 
 Bill
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
Scott
  M Stark
  Sent: Tuesday, August 13, 2002 12:08 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-dev] you can't configure interceptors...
 
 
  Do it, this is something we have been missing for a while.
 
  
  Scott Stark
  Chief Technology Officer
  JBoss Group, LLC
  
  - Original Message -
  From: Bill Burke [EMAIL PROTECTED]
  To: Jboss-Dev [EMAIL PROTECTED]
  Sent: Tuesday, August 13, 2002 8:44 AM
  Subject: [JBoss-dev] you can't configure interceptors...
 
 
   After looking at EJBModule, there doesn't seem to be a way to pass
   configuration information to Interceptors.  I'm going to put this
in
 if
   nobody objects.
  
  
   Bill
 
 
 
 
  ---
  This sf.net email is sponsored by: Dice - The leading online job
board
  for high-tech professionals. Search and apply for tech jobs today!
  http://seeker.dice.com/seeker.epl?rel_code=31
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
 
 ---
 This sf.net email is sponsored by: Dice - The leading online job board
 for high-tech professionals. Search and apply for tech jobs today!
 http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread marc fleury

Bill, 

You are absolutely correct.  The interceptor configuration is set.  We
discussed with Juha and Adrian in Palma and there is an elegant way to
provide interceptor configuration.  If you have a simple fix for EJB and
you need it right now, go ahead, but we have a simple way at the JMX
layer to specify this configuration.  

Have the configuration live at the head of the interceptors, have it be
in the container (exactly like the client side architecture) and you
have then the Context associated with the invocation.  In that context
you can set arbitrary name:value pairs, like we do in the client
interceptors. And even Element objects as we do with the current
configuration parsers.  Then the interceptor is supposed to look up the
object by name and use that value.  This configuration is in one place
with a one to one mapping between mbean/container and configuration.  

You can modify this configuration on the fly and come up with clever
persistence schemas for it. 

marcf


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On 
 Behalf Of Bill Burke
 Sent: Tuesday, August 13, 2002 11:45 AM
 To: Jboss-Dev
 Subject: [JBoss-dev] you can't configure interceptors...
 
 
 After looking at EJBModule, there doesn't seem to be a way to 
 pass configuration information to Interceptors.  I'm going to 
 put this in if nobody objects.
 
 
 Bill
 
 
 
 ---
 This sf.net email is sponsored by: Dice - The leading online 
 job board for high-tech professionals. Search and apply for 
 tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 Jboss-development mailing list [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Scott M Stark

I think your being too lazy now, and config via attributes is
in general insufficient. Just check if an element has a child
element that maps to a setXXX(Element) accessor where
the XXX corresponds to the child element name. This does
not break existing configs as no interceptors have configurable
attributes right?


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message -
From: Bill Burke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 9:43 AM
Subject: RE: [JBoss-dev] you can't configure interceptors...


 To minimize changes, you'll have to extract config information from XML
 attributes, ok?  Otherwise we fuck up everybody's container
configurations.

 i.e
 container-interceptors
   interceptor config1=hello
 config2=worldorg.jboss.some.fucking.interceptor/interceptor
 /container-interceptors

 ehMaybe I'm just being lazy...

 (BTW, this is for 4.0)

 Bill




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread David Jencks

Isn't someone (Adrian??) working on making the interceptors into mbeans
with lists of them being another mbean, this list replacing the container
configuration??

david jencks

On 2002.08.13 12:43:14 -0400 Bill Burke wrote:
 To minimize changes, you'll have to extract config information from XML
 attributes, ok?  Otherwise we fuck up everybody's container
 configurations.
 
 i.e
 container-interceptors
   interceptor config1=hello
 config2=worldorg.jboss.some.fucking.interceptor/interceptor
 /container-interceptors
 
 ehMaybe I'm just being lazy...
 
 (BTW, this is for 4.0)
 
 Bill
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
 Scott
  M Stark
  Sent: Tuesday, August 13, 2002 12:08 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-dev] you can't configure interceptors...
 
 
  Do it, this is something we have been missing for a while.
 
  
  Scott Stark
  Chief Technology Officer
  JBoss Group, LLC
  
  - Original Message -
  From: Bill Burke [EMAIL PROTECTED]
  To: Jboss-Dev [EMAIL PROTECTED]
  Sent: Tuesday, August 13, 2002 8:44 AM
  Subject: [JBoss-dev] you can't configure interceptors...
 
 
   After looking at EJBModule, there doesn't seem to be a way to pass
   configuration information to Interceptors.  I'm going to put this in
 if
   nobody objects.
  
  
   Bill
 
 
 
 
  ---
  This sf.net email is sponsored by: Dice - The leading online job board
  for high-tech professionals. Search and apply for tech jobs today!
  http://seeker.dice.com/seeker.epl?rel_code=31
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
 
 ---
 This sf.net email is sponsored by: Dice - The leading online job board
 for high-tech professionals. Search and apply for tech jobs today!
 http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Bill Burke

I don't need the interceptor configuration for anything important right now,
but I will commit something soon anyways.

Let me know if development stalls on the new MBean interceptor stuff and
I'll help out.

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of marc
 fleury
 Sent: Tuesday, August 13, 2002 2:53 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-dev] you can't configure interceptors...


 Bill,

 You are absolutely correct.  The interceptor configuration is set.  We
 discussed with Juha and Adrian in Palma and there is an elegant way to
 provide interceptor configuration.  If you have a simple fix for EJB and
 you need it right now, go ahead, but we have a simple way at the JMX
 layer to specify this configuration.

 Have the configuration live at the head of the interceptors, have it be
 in the container (exactly like the client side architecture) and you
 have then the Context associated with the invocation.  In that context
 you can set arbitrary name:value pairs, like we do in the client
 interceptors. And even Element objects as we do with the current
 configuration parsers.  Then the interceptor is supposed to look up the
 object by name and use that value.  This configuration is in one place
 with a one to one mapping between mbean/container and configuration.

 You can modify this configuration on the fly and come up with clever
 persistence schemas for it.

 marcf


  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On
  Behalf Of Bill Burke
  Sent: Tuesday, August 13, 2002 11:45 AM
  To: Jboss-Dev
  Subject: [JBoss-dev] you can't configure interceptors...
 
 
  After looking at EJBModule, there doesn't seem to be a way to
  pass configuration information to Interceptors.  I'm going to
  put this in if nobody objects.
 
 
  Bill
 
 
 
  ---
  This sf.net email is sponsored by: Dice - The leading online
  job board for high-tech professionals. Search and apply for
  tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31
  ___
  Jboss-development mailing list [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 



 ---
 This sf.net email is sponsored by: Dice - The leading online job board
 for high-tech professionals. Search and apply for tech jobs today!
 http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Bill Burke

Ok, I won't be lazy :)

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Scott
 M Stark
 Sent: Tuesday, August 13, 2002 2:50 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] you can't configure interceptors...
 
 
 I think your being too lazy now, and config via attributes is
 in general insufficient. Just check if an element has a child
 element that maps to a setXXX(Element) accessor where
 the XXX corresponds to the child element name. This does
 not break existing configs as no interceptors have configurable
 attributes right?
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 - Original Message -
 From: Bill Burke [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, August 13, 2002 9:43 AM
 Subject: RE: [JBoss-dev] you can't configure interceptors...
 
 
  To minimize changes, you'll have to extract config information from XML
  attributes, ok?  Otherwise we fuck up everybody's container
 configurations.
 
  i.e
  container-interceptors
interceptor config1=hello
  config2=worldorg.jboss.some.fucking.interceptor/interceptor
  /container-interceptors
 
  ehMaybe I'm just being lazy...
 
  (BTW, this is for 4.0)
 
  Bill
 
 
 
 
 ---
 This sf.net email is sponsored by: Dice - The leading online job board
 for high-tech professionals. Search and apply for tech jobs today!
 http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Jason Dillon

If that is the case and you need it right away, use a nested element
instead of the paramn bits.  This way you retain the current config
style but are not required to come up with some confusing scheme to add
configuration.

--jason


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:jboss-
 [EMAIL PROTECTED]] On Behalf Of marc fleury
 Sent: Tuesday, August 13, 2002 11:53 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-dev] you can't configure interceptors...
 
 Bill,
 
 You are absolutely correct.  The interceptor configuration is set.  We
 discussed with Juha and Adrian in Palma and there is an elegant way to
 provide interceptor configuration.  If you have a simple fix for EJB
and
 you need it right now, go ahead, but we have a simple way at the JMX
 layer to specify this configuration.
 
 Have the configuration live at the head of the interceptors, have it
be
 in the container (exactly like the client side architecture) and you
 have then the Context associated with the invocation.  In that context
 you can set arbitrary name:value pairs, like we do in the client
 interceptors. And even Element objects as we do with the current
 configuration parsers.  Then the interceptor is supposed to look up
the
 object by name and use that value.  This configuration is in one place
 with a one to one mapping between mbean/container and configuration.
 
 You can modify this configuration on the fly and come up with clever
 persistence schemas for it.
 
 marcf
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On
  Behalf Of Bill Burke
  Sent: Tuesday, August 13, 2002 11:45 AM
  To: Jboss-Dev
  Subject: [JBoss-dev] you can't configure interceptors...
 
 
  After looking at EJBModule, there doesn't seem to be a way to
  pass configuration information to Interceptors.  I'm going to
  put this in if nobody objects.
 
 
  Bill
 
 
 
  ---
  This sf.net email is sponsored by: Dice - The leading online
  job board for high-tech professionals. Search and apply for
  tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31
  ___
  Jboss-development mailing list
[EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
 
 
 ---
 This sf.net email is sponsored by: Dice - The leading online job board
 for high-tech professionals. Search and apply for tech jobs today!
 http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] you can't configure interceptors...

2002-08-13 Thread Holger Baxmann

   (BTW, this is for 4.0)

is HEAD the way to 4.0 in cvs ?

bax



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development