Skip navigation links
WildFly: Parent Aggregator 10.1.0.Final
org.jboss.as.ejb3.cache

Interface StatefulObjectFactory<T>

    • Method Detail

      • createInstance

        T createInstance()
        Create a new instance of this component. This may be invoked by a component interceptor, a client interceptor, or in the course of creating a new client, or in the case of an "eager" singleton, at component start. This method will block until the component is available. If the component fails to start then a runtime exception will be thrown.

        The instance has been injected and post-construct has been called.

        Returns:
        the component instance
      • destroyInstance

        void destroyInstance(T instance)
        Destroy an instance of the component. This method causes all uninjection and pre-destroy lifecycle invocations to occur.
        Parameters:
        instance - the instance to destroy
WildFly: Parent Aggregator 10.1.0.Final

Copyright © 2016 JBoss by Red Hat. All rights reserved.