org.nakedobjects.remoting.client
Class ProxyInstallerAbstract
java.lang.Object
org.nakedobjects.runtime.installers.InstallerAbstract
org.nakedobjects.runtime.persistence.PersistenceMechanismInstallerAbstract
org.nakedobjects.remoting.client.ProxyInstallerAbstract
- All Implemented Interfaces:
- ApplicationScopedComponent, Component, Installer, ConfigurationBuilderAware, FacetDecoratorInstaller, AuthenticationManagerInstaller, AuthorizationManagerInstaller, InstallerLookupAware, PersistenceMechanismInstaller, PersistenceSessionFactoryDelegate, ClientConnectionInstaller
- Direct Known Subclasses:
- EncodingOverSocketsProxyInstaller, SerializingOverSocketsProxyInstaller
public abstract class ProxyInstallerAbstract
- extends PersistenceMechanismInstallerAbstract
- implements ClientConnectionInstaller
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyInstallerAbstract
public ProxyInstallerAbstract(java.lang.String name)
getEncoderDecoder
protected ObjectEncoderDecoder getEncoderDecoder()
- Lazily creates (so that
InstallerAbstract.getConfiguration() is available).
createServerFacade
protected ServerFacade createServerFacade()
- Creates the
getServerFacade() as required.
Overridable, but default implementation calls the createTransport()
and createMarshaller(Transport) hooks.
createTransport
protected abstract Transport createTransport()
- Mandatory hook method.
createMarshaller
protected abstract ClientMarshaller createMarshaller(Transport transport)
- Mandatory hook method.
createAuthenticationManager
public AuthenticationManager createAuthenticationManager()
- Specified by:
createAuthenticationManager in interface AuthenticationManagerInstaller
createAuthorizationManager
public AuthorizationManager createAuthorizationManager()
- Specified by:
createAuthorizationManager in interface AuthorizationManagerInstaller
createPersistenceSessionFactory
public PersistenceSessionFactory createPersistenceSessionFactory(DeploymentType deploymentType)
- Specified by:
createPersistenceSessionFactory in interface PersistenceMechanismInstaller
createPersistenceSession
protected PersistenceSession createPersistenceSession(PersistenceSessionFactory persistenceSessionFactory,
AdapterManagerExtended adapterManager,
AdapterFactory adapterFactory,
ObjectFactory objectFactory,
OidGenerator oidGenerator,
ServicesInjector servicesInjector)
- Specified by:
createPersistenceSession in class PersistenceMechanismInstallerAbstract
createTransactionManager
protected NakedObjectTransactionManager createTransactionManager(NakedObjectConfiguration configuration,
AdapterManagerProxy adapterManager,
PersistenceSessionTransactionManagement transactionManagement)
- Creates the
NakedObjectTransactionManager, potentially
overriddable.
Called from PersistenceMechanismInstallerAbstract.createPersistenceSession(PersistenceSessionFactory).
createDecorators
public java.util.List<FacetDecorator> createDecorators()
- Specified by:
createDecorators in interface FacetDecoratorInstaller
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.