public class GateProfile extends Object
| Constructor and Description |
|---|
GateProfile(String name,
CoreProfile core,
SessionProfile session,
Collection<? extends ProcessProfile> processes,
Collection<? extends ResourceProfile> resources)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
CoreProfile |
getCore()
Returns the core segment of this profile.
|
String |
getName()
The name of this profile (for hint).
|
List<ProcessProfile> |
getProcesses()
Returns the process segment of this profile.
|
List<ResourceProfile> |
getResources()
Returns the resource segment of this profile.
|
SessionProfile |
getSession()
Returns the session segment of this profile.
|
static GateProfile |
loadFrom(String name,
Properties properties,
ClassLoader loader)
Deprecated.
use
loadFrom(String, Properties, ProfileContext) instead |
static GateProfile |
loadFrom(String name,
Properties properties,
ProfileContext context)
Loads a total profile from the properties.
|
public GateProfile(String name, CoreProfile core, SessionProfile session, Collection<? extends ProcessProfile> processes, Collection<? extends ResourceProfile> resources)
name - the name (for hint)core - the core segmentsession - the session segmentprocesses - the process segmentresources - the resource segmentIllegalArgumentException - if any parameter is nullpublic String getName()
public CoreProfile getCore()
public SessionProfile getSession()
public List<ProcessProfile> getProcesses()
public List<ResourceProfile> getResources()
@Deprecated public static GateProfile loadFrom(String name, Properties properties, ClassLoader loader)
loadFrom(String, Properties, ProfileContext) insteadname - the profile name (for hint)properties - source propertiesloader - class loader to load the ProcessProviderIllegalArgumentException - if properties are invalid, or if any parameter is nullpublic static GateProfile loadFrom(String name, Properties properties, ProfileContext context)
name - the profile name (for hint)properties - source propertiescontext - the current profile contextIllegalArgumentException - if properties are invalid, or if any parameter is nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.