public ActiveMQThreadFactory(final String groupName,final boolean daemon,final ClassLoader tccl){
  group=new ThreadGroup(groupName + "-" + System.identityHashCode(this));
  this.threadPriority=Thread.NORM_PRIORITY;
  this.tccl=tccl;
  this.daemon=daemon;
  this.acc=AccessController.getContext();
}

public ActiveMQThreadFactory ( final String groupName , final boolean daemon , final ClassLoader tccl ) { group = new ThreadGroup ( groupName + "-" + System . identityHashCode ( this ) ) ; this . threadPriority = Thread . NORM_PRIORITY ; this . tccl = tccl ; this . daemon = daemon ; this . acc = AccessController . getContext ( ) ; }
construct a new instance . the access control context of the calling thread will be the one used to create new threads if a security manager is installed .
