Examples of update()

Examples of com.sun.jersey.core.spi.component.ProviderServices.update()

        // Validate the resource config

        if (updateRequired) {
            // Check if application modified provider classes or singletons
                    resourceConfig.getProviderSingletons(), injectableFactory);

        // Obtain all the templates
        this.templateContext = new TemplateFactory(providerServices);
View Full Code Here

Examples of com.sun.jersey.samples.optimisticconcurrency.ItemData.update()

        synchronized (id) {
            int currentVersion = id.getVersion();
            if (currentVersion > version) {
                throw new ConflictException("Conflict");
            id.update(headers.getMediaType(), in);
View Full Code Here

Examples of com.sun.messaging.jmq.io.MetricCounters.update()

  MetricCounters mc = (MetricCounters)deadTotalsByService.get(service);
  if (mc == null) {
      mc = new MetricCounters();
      deadTotalsByService.put(service, mc);

    public synchronized void reset() {
        lastSample = new MetricCounters();
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.Destination.update()

                if (info.isModified(info.RELOAD_XML_SCHEMA_ON_FAILURE)) {
                // audit logging for create destination
                    con.getUserName(), con.remoteHostString(),MQAuditSession.CREATE_DESTINATION,
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.PacketReference.update()

                            states[i] = Globals.getStore().getInterestState(
                                        dst, pr.getSysMessageID(), consumers[i]);

                    pr.update(consumers, states, false);

                    // OK deal w/ transsactions
                    // LKS - XXX
                    ExpirationInfo ei = pr.getExpiration();
                    if (ei != null && d.expireReaper != null) {
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.persist.jdbc.comm.BaseDAO.update()

                sessionDAO.insert( conn, brokerID, new UID().longValue(), true );

        PropertyDAO dao = daoFactory.getPropertyDAO();
        dao.update( conn, STORE_PROPERTY_SUPPORT_JMSBRIDGE, Boolean.valueOf(true));

    static void updateStoreVersion410IfNecessary(Connection conn)
        throws BrokerException {
View Full Code Here

Examples of com.sun.midp.crypto.MessageDigest.update()

    public static byte[] getHash(byte[] data, int offset, int length) {

        byte[] tmp = new byte[20];
        try {
            MessageDigest md = MessageDigest.getInstance("SHA-1");
            md.update(data, offset, length);
            md.digest(tmp, 0, tmp.length);
        } catch (GeneralSecurityException e) {
            // algorithm not found - not in this implementation
            throw new RuntimeException(
                "SHA-1 algorithm for MessageDigest not supported");
View Full Code Here

Examples of com.sun.star.text.XDocumentIndex.update()

            // Get the XDocumentIndex interface of the Index
            XDocumentIndex xDocIndex = (XDocumentIndex) UnoRuntime.queryInterface(
                XDocumentIndex.class, xIndex );
            // And call it's update method
        catch (Exception e)
View Full Code Here

Examples of com.sun.star.util.XUpdatable.update()

                Object oTextField = xEnum.nextElement();           
                XServiceInfo xSI = (XServiceInfo) UnoRuntime.queryInterface(XServiceInfo.class, oTextField);
                if (xSI.supportsService("com.sun.star.text.TextField.ExtendedUser")) {                 
                    XUpdatable xUp = (XUpdatable) UnoRuntime.queryInterface(XUpdatable.class, oTextField);
                if (xSI.supportsService("com.sun.star.text.TextField.User")) {                 
                    XUpdatable xUp = (XUpdatable) UnoRuntime.queryInterface(XUpdatable.class, oTextField);
View Full Code Here

Examples of com.sun.xml.ws.rx.rm.policy.RmConfigurator.update()

                if (!rmAssertion.isCompatibleWith(rmFeatureBuilder.getProtocolVersion())) {
                    LOGGER.warning(LocalizationMessages.WSRM_1009_INCONSISTENCIES_IN_POLICY(rmAssertion.getName(), rmFeatureBuilder.getProtocolVersion()));
                    // TODO replace warning with exception in Metro >2.0:
                    // throw new WebServiceException(/*message*/);
                rmFeatureBuilder = rmAssertion.update(rmFeatureBuilder);
        } // next assertion
        // next assertion
        return rmFeatureBuilder.build();
View Full Code Here
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.