[jboss-dev-forums] [Design of POJO Server] - Re: Controlling deployments via a barrier bean

bstansberry@jboss.com do-not-reply at jboss.com
Wed Jun 4 12:18:36 EDT 2008


Something ate part of my first version. Should have been:


  | @Target(ElementType.TYPE)
  | @Retention(RetentionPolicy.RUNTIME)
  | public @interface HASingleton
  | {   
  |    String partition() default "${jboss.partition.name:DefaultPartition}";
  | 
  |    /**
  |     * Position in the current view that defines the singleton master.
  |     * 0 means the oldest node, 1 means 2nd oldest, ...
  |     * -1 means the youngest node, -2 means 2nd youngest, ...
  |     */   
  |    int position() default 0;
  | }
  | 

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

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



More information about the jboss-dev-forums mailing list