Examples of enter()


Examples of org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.enter()

            for (Iterator i = connectionManagerToManagedConnectionInfoMap.entrySet().iterator(); i.hasNext();) {
                Map.Entry entry = (Map.Entry) i.next();
                ConnectionTrackingInterceptor mcci =
                        (ConnectionTrackingInterceptor) entry.getKey();
                Set connections = (Set) entry.getValue();
                mcci.enter(connections);
            }
    }

    public void newTransaction() throws ResourceException {
        ConnectorInstanceContext currentContext = (ConnectorInstanceContext) currentInstanceContexts.get();
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.enter()

            for (Iterator i = connectionManagerToManagedConnectionInfoMap.entrySet().iterator(); i.hasNext();) {
                Map.Entry entry = (Map.Entry) i.next();
                ConnectionTrackingInterceptor mcci =
                        (ConnectionTrackingInterceptor) entry.getKey();
                Set connections = (Set) entry.getValue();
                mcci.enter(connections);
            }
        }
    }

    public void newTransaction() throws ResourceException {
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.enter()

    private void associateConnections(ConnectorInstanceContext context) throws ResourceException {
        Map<ConnectionTrackingInterceptor, Set<ConnectionInfo>> connectionManagerToManagedConnectionInfoMap = context.getConnectionManagerMap();
        for (Map.Entry<ConnectionTrackingInterceptor, Set<ConnectionInfo>> entry : connectionManagerToManagedConnectionInfoMap.entrySet()) {
            ConnectionTrackingInterceptor mcci = entry.getKey();
            Set<ConnectionInfo> connections = entry.getValue();
            mcci.enter(connections);
        }
    }

    public void newTransaction() throws ResourceException {
        ConnectorInstanceContext currentContext = currentInstanceContexts.get();
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator.enter()

            ConnectorInstanceContext connectorContext = new ConnectorInstanceContextImpl(ejbDeployment.getUnshareableResources(),
                    ejbDeployment.getApplicationManagedSecurityResources());

            // Set connector context
            try {
                geronimoCallContext.oldConnectorContext = trackedConnectionAssociator.enter(connectorContext);
            } catch (ResourceException e) {
                log.error("Error while entering TrackedConnectionAssociator");
                return;
            }
        }
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator.enter()

            ConnectorInstanceContext connectorContext = new ConnectorInstanceContextImpl(ejbDeployment.getUnshareableResources(),
                    ejbDeployment.getApplicationManagedSecurityResources());

            // Set connector context
            try {
                geronimoCallContext.oldConnectorContext = trackedConnectionAssociator.enter(connectorContext);
            } catch (ResourceException e) {
                log.error("Error while entering TrackedConnectionAssociator");
                return;
            }
        }
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator.enter()

            ConnectorInstanceContext connectorContext = new ConnectorInstanceContextImpl(ejbDeployment.getUnshareableResources(),
                    ejbDeployment.getApplicationManagedSecurityResources());

            // Set connector context
            try {
                geronimoCallContext.oldConnectorContext = trackedConnectionAssociator.enter(connectorContext);
            } catch (ResourceException e) {
                log.error("Error while entering TrackedConnectionAssociator");
                return;
            }
        }
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator.enter()

            ConnectorInstanceContext connectorContext = new ConnectorInstanceContextImpl(ejbDeployment.getUnshareableResources(),
                    ejbDeployment.getApplicationManagedSecurityResources());

            // Set connector context
            try {
                geronimoCallContext.oldConnectorContext = trackedConnectionAssociator.enter(connectorContext);
            } catch (ResourceException e) {
                log.error("Error while entering TrackedConnectionAssociator");
                return;
            }
        }
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator.enter()

            ConnectorInstanceContext connectorContext = new ConnectorInstanceContextImpl(ejbDeployment.getUnshareableResources(),
                    ejbDeployment.getApplicationManagedSecurityResources());

            // Set connector context
            try {
                geronimoCallContext.oldConnectorContext = trackedConnectionAssociator.enter(connectorContext);
            } catch (ResourceException e) {
                log.error("Error while entering TrackedConnectionAssociator");
                return;
            }
        }
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.commit.Editor.enter()

        if (exception != null) {
            throw exception;
        }

        for (Editor editor : editors) {
            editor.enter(before, after);
        }
    }

    @Override
    public void leave(NodeState before, NodeState after)
View Full Code Here

Examples of org.apache.maven.SessionScope.enter()

        throws Exception
    {
        SessionScope sessionScope = lookup( SessionScope.class );
        try
        {
            sessionScope.enter();
            sessionScope.seed( MavenSession.class, session );

            MojoExecutionScope executionScope = lookup( MojoExecutionScope.class );
            try
            {
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.