[jboss-dev-forums] [Design the new POJO MicroContainer] - In callback

adrian@jboss.org do-not-reply at jboss.com
Fri Jun 29 06:24:56 EDT 2007


"bill.burke at jboss.com" wrote : 
  |   |    <bean name="StructuralDeployers" class="org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl">
  |   |       <!-- Accept any implementor of structure deployer -->
  |   |       <incallback method="addDeployer"/>
  |   |       <uncallback method="removeDeployer"/>
  |   |    </bean>
  |   | 
  | 
  | 
  | So the incallback means that any bean that implements the interfaces of VFSStructuralDeployersImpl will automatically incur an addDeployer(this) call on the StructuralDeployer's bean?  Or the parameter type of the addDeployer method?
  | 

It is the parameter type of the methods.

anonymous wrote : 
  | incallback is a HORRIBLE name for this.  Please define something that is easier to understand.  Thanks.

I agree. But I don't really care what it is called, I care what does.
Ales, maybe you can come up with a better name, e.g.
installCallback and uninstallCallback?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059098#4059098

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059098



More information about the jboss-dev-forums mailing list