/** * Indicates that the given module was selected. * * Used to wire up the view selection events to the presenters logic. * * @param pickedModule the module that was selected or null if one was deselected. */ void moduleSelected(@Nullable MavenProjectDTO pickedModule);
/** * Creates CacheManagerProviderImpl using the provided AppContext. See * {@link #CacheManagerProviderImpl(Logger, AppContext, File)} for details. * * @param appContext * @throws IOException */ @Inject public CacheManagerComponentImpl( @Nullable final AppContext appContext ) throws IOException { this( appContext, null ); }
@Nullable private PasswordDecryptor passwordDecryptor;
@Inject public DefaultRealmSecurityManager( @Nullable RolePermissionResolver rolePermissionResolver ) { logger.info( "@Deprecated use shiro-guice with org.sonatype.security.guice.SecurityModule instead" ); this.rolePermissionResolver = rolePermissionResolver; init(); }
@Inject public WorkspaceManagerPresenterImpl(final WorkspaceManagerView view, final @Named("default") @Nullable WorkspacePresenter defaultWorkspace) { this.view = checkNotNull(view); this.defaultWorkspace = defaultWorkspace; view.setPresenter(this); }
@Inject public DefaultJiraXmlRpcProxy( @Nullable @Named( "${jira.proxy.target.url}" ) final String url ) { if ( url != null && !"${jira.proxy.target.url}".equals( url ) ) { setProxiedUrl( url ); } this.proxy = (JiraXmlRpc) Proxy.newProxyInstance( this.getClass().getClassLoader(), new Class[] { JiraXmlRpc.class }, this ); }
@Inject public ExceptionCatchingModularRealmAuthorizer( Collection<Realm> realms, @Nullable RolePermissionResolver rolePermissionResolver ) { super( realms ); if ( null != rolePermissionResolver ) { setRolePermissionResolver( rolePermissionResolver ); } }
@Nullable private List<NexusContentRestrictionConstituent> constituents;
@Inject HazelcastResourceLockFactory( @Nullable @Named( "hazelcast.config" ) final File configFile ) { super( true ); instance = Hazelcast.newHazelcastInstance( getHazelcastConfig( configFile ) ); try { final MBeanServer server = ManagementFactory.getPlatformMBeanServer(); jmxMaster = ObjectName.getInstance( JMX_DOMAIN, "type", category() ); jmxQuery = ObjectName.getInstance( JMX_DOMAIN, properties( "type", category(), "hash", "*" ) ); if ( !server.isRegistered( jmxMaster ) ) { server.registerMBean( new HazelcastResourceLockMBean( instance, jmxQuery ), jmxMaster ); } } catch ( final Exception e ) { Logs.warn( "Problem registering master LocksMBean for: <>", this, e ); } }