1 22 package org.jboss.test.profileservice.support; 23 24 import org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap; 25 26 31 public class ProfileServiceBootstrap extends BasicBootstrap 32 { 33 private String profileName; 34 35 public ProfileServiceBootstrap() 36 { 37 this("default"); 38 } 39 public ProfileServiceBootstrap(String name) 40 { 41 this.profileName = name; 42 } 43 44 protected void bootstrap() throws Throwable  45 { 46 super.bootstrap(); 48 loadProfile(profileName); 50 } 51 52 58 protected void loadProfile(String name) throws Throwable  59 { 60 61 } 62 } 63 | Popular Tags |