TransformFilterpublic class TransformFilter extends Object implements com.sun.enterprise.admin.wsmgmt.filter.spi.FilterFilter that can implement XSLT transformations. |
Fields Summary |
---|
private String | _applicationId | private String | _endpointId | private static final String | DELIM | private static final String | NAME_PREFIX | private FilterChain | reqChain | private FilterChain | resChain | private ReentrantReadWriteLock | _rwl | private Lock | _readLock | private Lock | _writeLock | private static final Logger | _logger | private static final com.sun.enterprise.util.i18n.StringManager | _stringMgr |
Constructors Summary |
---|
public TransformFilter(String appId, String endpoint)Public Constructor.
_applicationId = appId;
_endpointId = endpoint;
_rwl = new ReentrantReadWriteLock();
_readLock = _rwl.readLock();
_writeLock = _rwl.writeLock();
| public TransformFilter(String appId, com.sun.enterprise.admin.wsmgmt.config.spi.WebServiceConfig wsc)Public Constructor.
_applicationId = appId;
_endpointId = wsc.getName();
TransformationRule[] reqRules = wsc.getRequestTransformationRule();
if ( reqRules != null) {
reqChain = new FilterChain(reqRules, false);
//reqChain.addFilter(reqRules, false);
} else {
reqChain = null;
}
TransformationRule[] resRules = wsc.getResponseTransformationRule();
if (resRules != null) {
resChain = new FilterChain(resRules, true);
//resChain.addFilter(resRules, true);
} else {
resChain = null;
}
_rwl = new ReentrantReadWriteLock();
_readLock = _rwl.readLock();
_writeLock = _rwl.writeLock();
|
|