Example usage for javax.ejb TransactionAttributeType NOT_SUPPORTED

List of usage examples for javax.ejb TransactionAttributeType NOT_SUPPORTED

Introduction

In this page you can find the example usage for javax.ejb TransactionAttributeType NOT_SUPPORTED.

Prototype

TransactionAttributeType NOT_SUPPORTED

To view the source code for javax.ejb TransactionAttributeType NOT_SUPPORTED.

Click Source Link

Document

The container invokes an enterprise bean method whose transaction attribute NOT_SUPPORTED with an unspecified transaction context.

Usage

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public double getRequestLimit() {
    return session.getRequestLimit();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setRequestLimit(double requestLimit) {
    session.setRequestLimit(requestLimit);
    persistStorageProperty(REQUEST_LIMIT, Double.toString(requestLimit));
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public double getMinRequestLimit() {
    return session.getMinRequestLimit();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setMinRequestLimit(double minRequestLimit) {
    session.setMinRequestLimit(minRequestLimit);
    persistStorageProperty(REQUEST_LIMIT_MIN, Double.toString(minRequestLimit));
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public double getRequestLimitTopologyDelta() {
    return session.getTopologyDelta();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setRequestLimitTopologyDelta(double delta) {
    session.setTopologyDelta(delta);//  w  w  w.ja  v  a 2  s .  c om
    persistStorageProperty(REQUEST_TOPOLOGY_CHANGE_DELTA, Double.toString(delta));
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public double getRequestTimeoutDelta() {
    return session.getTimeoutDelta();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setRequestTimeoutDelta(double requestTimeoutDelta) {
    session.setTimeoutDelta(requestTimeoutDelta);
    persistStorageProperty(REQUEST_TIMEOUT_DELTA, Double.toString(requestTimeoutDelta));
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public long getRequestTimeoutDampening() {
    return session.getTimeoutDampening();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@Override
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setRequestTimeoutDampening(long requestTimeoutDampening) {
    session.setTimeoutDampening(requestTimeoutDampening);
    persistStorageProperty(REQUEST_TIMEOUT_DAMPENING, Long.toString(requestTimeoutDampening));
}