public static class HttpServletSecurityManagedObjectSource.HttpSecurityManagedObject<S,C> extends Object implements AsynchronousManagedObject, CoordinatingManagedObject<HttpServletSecurityManagedObjectSource.Dependencies>
ManagedObject
for the HTTP security.Constructor and Description |
---|
HttpSecurityManagedObject() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Obtains the object being managed.
|
void |
loadObjects(ObjectRegistry<HttpServletSecurityManagedObjectSource.Dependencies> registry)
Loads the Objects of the
ManagedObject instances to be referenced
by this CoordinatingManagedObject . |
void |
registerAsynchronousCompletionListener(AsynchronousListener listener)
Provides the
AsynchronousListener to the
AsynchronousManagedObject to enable call back to notify state and
completion of asynchronous processing. |
public void registerAsynchronousCompletionListener(AsynchronousListener listener)
AsynchronousManagedObject
AsynchronousListener
to the
AsynchronousManagedObject
to enable call back to notify state and
completion of asynchronous processing.registerAsynchronousCompletionListener
in interface AsynchronousManagedObject
listener
- AsynchronousListener
.public void loadObjects(ObjectRegistry<HttpServletSecurityManagedObjectSource.Dependencies> registry) throws Throwable
CoordinatingManagedObject
Loads the Objects of the ManagedObject
instances to be referenced
by this CoordinatingManagedObject
.
References to the loaded Objects must be released on recycling the
ManagedObject
.
loadObjects
in interface CoordinatingManagedObject<HttpServletSecurityManagedObjectSource.Dependencies>
registry
- Registry of the Objects for the ManagedObject
instances.Throwable
- Should this CoordinatingManagedObject
fail to load
the ManagedObject
.public Object getObject() throws Throwable
ManagedObject
getObject
in interface ManagedObject
Throwable
- Indicating failed to obtain the object for use.Copyright © 2005–2016. All rights reserved.