Examples of preDestroy()


Examples of com.sun.xml.internal.ws.api.pipe.Tube.preDestroy()

            // multi-thread safety of 'close' needs to be considered more carefully.
            // some calls might be pending while this method is invoked. Should we
            // block until they are complete, or should we abort them (but how?)
            Tube p = tubes.take();
            tubes = null;
            p.preDestroy();
        }
    }

    public final WSBinding getBinding() {
        return binding;
View Full Code Here

Examples of com.sun.xml.ws.api.pipe.Tube.preDestroy()

            // multi-thread safety of 'close' needs to be considered more carefully.
            // some calls might be pending while this method is invoked. Should we
            // block until they are complete, or should we abort them (but how?)
            Tube p = tubelinePool.take();
            tubelinePool = null;
            p.preDestroy();
        }
    }
}
View Full Code Here

Examples of com.sun.xml.ws.api.pipe.Tube.preDestroy()

        if (tp != null) {
            // multi-thread safety of 'close' needs to be considered more carefully.
            // some calls might be pending while this method is invoked. Should we
            // block until they are complete, or should we abort them (but how?)
            Tube p = tp.takeMaster();
            p.preDestroy();
            tubes = null;
        }
        if (!managedObjectManagerClosed) {
            try {
                final ObjectName name = managedObjectManager.getObjectName(managedObjectManager.getRoot());
View Full Code Here

Examples of com.sun.xml.ws.api.pipe.Tube.preDestroy()

        if (tp != null) {
            // multi-thread safety of 'close' needs to be considered more carefully.
            // some calls might be pending while this method is invoked. Should we
            // block until they are complete, or should we abort them (but how?)
            Tube p = tp.take();
            p.preDestroy();
            this.tubelinePool = null;
            this.engine = null;
            this.schedules.clear();
        }
View Full Code Here

Examples of com.sun.xml.ws.rx.rm.runtime.sequence.AbstractSequence.preDestroy()

            if (sequence != null && sequence.getState() != Sequence.State.TERMINATING) {
                if (sequence instanceof InboundSequence) {
                    actualConcurrentInboundSequences.decrementAndGet();
                }
                sequence.preDestroy();
            }

            return sequence;
        } finally {
            dataLock.writeLock().unlock();
View Full Code Here

Examples of com.sun.xml.ws.rx.rm.runtime.sequence.AbstractSequence.preDestroy()

            if (sequence != null && sequence.getState() != Sequence.State.TERMINATING) {
                if (sequence instanceof InboundSequence) {
                    actualConcurrentInboundSequences.decrementAndGet();
                }
                sequence.preDestroy();
            }

            return sequence;
        } finally {
            dataLock.writeLock().unlock();
View Full Code Here

Examples of com.sun.xml.ws.rx.rm.runtime.sequence.Sequence.preDestroy()

            if (sequence.getState() != Sequence.State.TERMINATING) {
                if (sequence instanceof InboundSequence) {
                    actualConcurrentInboundSequences.decrementAndGet();
                }
                sequence.preDestroy();
            }

            return sequence;
        } finally {
            dataLock.writeLock().unlock();
View Full Code Here

Examples of com.sun.xml.ws.rx.rm.runtime.sequence.Sequence.preDestroy()

            if (sequence.getState() != Sequence.State.TERMINATING) {
                if (sequence instanceof InboundSequence) {
                    actualConcurrentInboundSequences.decrementAndGet();
                }
                sequence.preDestroy();
            }

            return sequence;
        } finally {
            dataLock.writeLock().unlock();
View Full Code Here

Examples of javax.enterprise.inject.spi.InjectionTarget.preDestroy()

    {
        if (creationMetaData instanceof CreationalContext)
        {
            AnnotatedType annoType = beanManager.createAnnotatedType(instance.getClass());
            InjectionTarget target = beanManager.createInjectionTarget(annoType);
            target.preDestroy(instance);

            ((CreationalContext)creationMetaData).release();
        }
    }
}
View Full Code Here

Examples of javax.enterprise.inject.spi.InjectionTarget.preDestroy()

                    it.postConstruct(t);
                }

                @Override
                public void preDestroy(Object t) {
                    it.preDestroy(t);
                }

                @Override
                public Object produce(CreationalContext cc) {
                    return it.produce(cc);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.