org.apache.catalina.TrackedWebResource Java Examples

The following examples show how to use org.apache.catalina.TrackedWebResource. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: StandardRoot.java    From Tomcat8-Source-Read with MIT License 5 votes vote down vote up
public List<String> getTrackedResources() {
    List<String> result = new ArrayList<>(trackedResources.size());
    for (TrackedWebResource resource : trackedResources) {
        result.add(resource.toString());
    }
    return result;
}
 
Example #2
Source File: StandardRoot.java    From Tomcat8-Source-Read with MIT License 4 votes vote down vote up
@Override
public void registerTrackedResource(TrackedWebResource trackedResource) {
    trackedResources.add(trackedResource);
}
 
Example #3
Source File: StandardRoot.java    From Tomcat8-Source-Read with MIT License 4 votes vote down vote up
@Override
public void deregisterTrackedResource(TrackedWebResource trackedResource) {
    trackedResources.remove(trackedResource);
}
 
Example #4
Source File: MockWebResourceRoot.java    From joinfaces with Apache License 2.0 4 votes vote down vote up
@Override
public void registerTrackedResource(TrackedWebResource trackedResource) {
	throw new UnsupportedOperationException(NOT_SUPPORTED_YET);
}
 
Example #5
Source File: MockWebResourceRoot.java    From joinfaces with Apache License 2.0 4 votes vote down vote up
@Override
public void deregisterTrackedResource(TrackedWebResource trackedResource) {
	throw new UnsupportedOperationException(NOT_SUPPORTED_YET);
}
 
Example #6
Source File: OrderedWebResourceRoot.java    From tomcat-classloader-ordered with Apache License 2.0 4 votes vote down vote up
@Override
public void registerTrackedResource(TrackedWebResource trackedResource) {
	delegate.registerTrackedResource(trackedResource);
}
 
Example #7
Source File: OrderedWebResourceRoot.java    From tomcat-classloader-ordered with Apache License 2.0 4 votes vote down vote up
@Override
public void deregisterTrackedResource(TrackedWebResource trackedResource) {
	delegate.deregisterTrackedResource(trackedResource);
}
 
Example #8
Source File: LazyStopStandardRoot.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public void registerTrackedResource(final TrackedWebResource trackedResource) {
    delegate.registerTrackedResource(trackedResource);
}
 
Example #9
Source File: LazyStopStandardRoot.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public void deregisterTrackedResource(final TrackedWebResource trackedResource) {
    delegate.deregisterTrackedResource(trackedResource);
}