com.sun.ejb.containers.builder
Class StatefulContainerBuilder

java.lang.Object
  extended by com.sun.ejb.containers.builder.BaseContainerBuilder
      extended by com.sun.ejb.containers.builder.StatefulContainerBuilder

@Service
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class StatefulContainerBuilder
extends BaseContainerBuilder

A builder for StatefulSessionContainer. Takes care of building / initializing the StatefulSessionContainer with the following classes: a) Cache (LRU / NRU / FIFO / UnBounded) b) SFSBStoreManager (Using PersistenceStrategyBuilder) c) Cache passivation task (if idle-timeout is greater than 0) d) Passivated sessions removal task (if removal-timeout is greater than 0) e) CheckpointPolicy (if ha enabled) f) SFSBUUIDUtil g) BeanLifecycleManager

Author:
Mahesh Kannan

Field Summary
 
Fields inherited from class com.sun.ejb.containers.builder.BaseContainerBuilder
_logger, baseContainer, ejbDescriptor, loader
 
Constructor Summary
StatefulContainerBuilder()
           
 
Method Summary
 void buildComponents()
           
 BaseContainer createContainer(EjbDescriptor ejbDescriptor, java.lang.ClassLoader loader)
           
 
Methods inherited from class com.sun.ejb.containers.builder.BaseContainerBuilder
buildContainer, getContainer, getDynamicDeploymentContext, getIPAddress, getPort, postInitialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulContainerBuilder

public StatefulContainerBuilder()
Method Detail

createContainer

public BaseContainer createContainer(EjbDescriptor ejbDescriptor,
                                     java.lang.ClassLoader loader)
                              throws java.lang.Exception
Specified by:
createContainer in class BaseContainerBuilder
Throws:
java.lang.Exception

buildComponents

public void buildComponents()
                     throws java.lang.Exception
Specified by:
buildComponents in class BaseContainerBuilder
Throws:
java.lang.Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.