Manorrock logo
Almanacs     Products     Open SourceSign In

@PostConstruct
Javadoc
The @PostConstruct annotation makes it possible to run initialization code just before the EJB is put into service.
  @PostConstruct
  public void init() {
    // put your initialization code here.
  }
Note that the @PostConstruct is only run once, so if you are exposing a session bean that gets passivated and subsequently activated this code will not run!

Up


Documents     Press releasesAbout us     Privacy    
Copyright notice