[Red5] Spring AOP and application methods

Daniel Rossi spam at electroteque.org
Fri Oct 26 05:18:48 PDT 2007


Hi there, ive been reading up more, and yes it seems i can create a  
logging service without messing with inner code. My problem is  
everything is setup right but its not being called, any ideas where  
these should be set ?


	<aop:config>
		<aop:aspect ref="streamStatisticsLog">
			<aop:around
				pointcut="execution(*  
org.red5.server.adapter.IApplication.appConnect 
(org.red5.server.api.IConnection, Object[])) and args(conn, params)"				
				method="appConnect"
				arg-names="conn, params"
			/>
			
			<aop:around
				pointcut="execution(*  
org.red5.server.adapter.IApplication.roomConnect 
(org.red5.server.api.IConnection, Object[])) and args(conn, params)"				
				method="roomConnect"
				arg-names="conn, params"
			/>
		</aop:aspect>
	</aop:config>
	
It should be called methods on the streamStatisticsLog bean and  
passing the parameters so i know what to do with them. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071026/d65ded2c/attachment.html 


More information about the Red5 mailing list