P
- type of the information providerpublic abstract class AbstractVirtualProviderService<P extends VirtualProvider> extends java.lang.Object implements VirtualProviderService<P>
Constructor and Description |
---|
AbstractVirtualProviderService() |
Modifier and Type | Method and Description |
---|---|
void |
checkValidity()
Checks the validity of this provider service.
|
void |
invalidate()
Invalidates this provider service.
|
P |
provider()
Returns the virtual provider to which this service has been issued.
|
protected void |
setProvider(P provider)
Creates a virtual provider service on behalf of the specified provider.
|
protected void setProvider(P provider)
provider
- provider to which this service is being issuedpublic void invalidate()
public void checkValidity()
java.lang.IllegalStateException
- if the service is no longer validpublic P provider()
VirtualProviderService
provider
in interface VirtualProviderService<P extends VirtualProvider>