oracle.portal.provider.v2.cache.invalidation
Class ServletInvalidationContextFactory
java.lang.Object
|
+--oracle.portal.provider.v2.cache.invalidation.ServletInvalidationContextFactory
- public class ServletInvalidationContextFactory
- extends java.lang.Object
Used to generate an InvalidationContext implementation
object defined in the system property
oracle.portal.provider.invalidationclass.
e.g.
private void someFunction()
{
ServletInvalidationContext inv = ServletInvalidationContextFactory.getServletInvalidationContext();
}
By using this factory class, implementation details are hidden from the
client code.
A default class is used if the system property is not set.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletInvalidationContextFactory
public ServletInvalidationContextFactory()
getServletInvalidationContext
public static ServletInvalidationContext getServletInvalidationContext()
throws InvalidationException
- Instantiate and return an invalidation context implementation class
Uses default if no system property is set.
- Returns:
- the InvalidationContext type object
- Throws:
InvalidationException - if an invalidation context can not be
instantiated.
Copyright (c) 2002, Oracle Corporation. All Rights Reserved.