検索
全文検索: singleton @study:java:design_pattern 8 ヒット , 最終更新: 13年前 <code java>
public class Singleton {
private static Singleton uniqueInstance;
private Singleton() {}
public static Singleton getInstance() {
if (uniqueInst... <code java>
public class Singleton {
private static Singleton uniqueInstance;
private Singleton() {}
public static synchronized Singleton getInstance() {
i implement3 @study:java:sharepointonline 6 ヒット , 最終更新: 17カ月前 =====
実装コードのメインとなる部分を以下に示します。
<code java>
private static final ResourceBundle RSC = ResourceBundle.getBundle("com.app.sample.ws.application");
private static final String CUSTOM_STS_ENDPOINT = "https://login... amespacePrefixes = new HashMap<String, String>();
static {
//register the prefix of NameSpace
namespac... ProxyClientHttpRequestFactoryBuilder {
private static final String PROXY_HOST = "proxy.sample.com";
p rememberme @study:java 5 ヒット , 最終更新: 17カ月前 uestAwareAuthenticationSuccessHandler {
private static final Logger logger = LoggerFactory.getLogger(MyS... essHandler.class);
//ログイン画面直アクセスの場合の遷移先
private static final String DEFAULT_TARGET_URL = "/sample/Main.d... plements AuthenticationSuccessHandler {
private static final Logger logger = LoggerFactory.getLogger(Rem... erMeAuthenticationSuccessHandler.class);
private static final String DEFAULT_TARGET_URL = "/sample/Main.d implement2 @study:java:sharepointonline 5 ヒット , 最終更新: 17カ月前 ncy Castleを適用するコードを以下に示します。
<code java>
private static final String JCE_PROVIDER_BOUNCY_CASTLE_FIPS = "BCFIPS";
private static final String BOUNCY_CASTLE_RNG_HYBRID_MODE = "C:HYBRID;ENABLE{ALL};";
private static final byte[] NONCE = Strings.toByteArray("number ... <br>
* @throws RuntimeException
*/
public static void setUpProvider() throws RuntimeException {
logging @study:jsf 4 ヒット , 最終更新: 18年前 ;
import javax.servlet.ServletContext;
protected static ClassLoader getCurrentClassLoader(Object defaultO... ClassLoader();
}
return loader;
}
public static String getDisplayString(String bundleName, String... ry%%** 클래스를 사용해도 좋을 것이다.))
<code java>
...
public static FacesMessage getMessage(String messageId, Object ... null);
}
}
...
public static void reportError(FacesContext facesContext, Strin implement1 @study:java:sharepointonline 4 ヒット , 最終更新: 17カ月前 ===
実装のメインになるコードを以下に示します。\\
<code java>
private static final ResourceBundle RSC = ResourceBundle.getBundle("com.app.sample.ws.application");
private static final String STS_AUTH_ENDPOINT = "https://xxxxx.c... acePrefixes = new HashMap<String, String>();
static {
//register the prefix of NameSpace
name... ponentsClientHttpRequestFactoryBuilder {
public static HttpComponentsClientHttpRequestFactory build() {
implement4 @study:java:sharepointonline 3 ヒット , 最終更新: 11カ月前 コード ======
実装Mainコードを以下に示します。
<code java>
private static final String COOKIE_SITE_ENDPOINT = "https://xxxx... o.com/_forms/default.aspx?wa=wsignin1.0";
private static RestTemplateWithCookies restTemplateWithCookie = ... plateWithCookies extends RestTemplate {
private static final Logger logger = LoggerFactory.getLogger(Res template_method @study:java:design_pattern 2 ヒット , 最終更新: 18年前 다. 그 메소드가 어떤 식으로 작동하는지 살펴봅시다.
<code java>
public static void sort(Object[] a){
Object aux[] = (Object... 길이와 첫번째 원소의 위치(0)도 알려줘야 합니다.
<code java>
private static void mergeSort(Object[] src, Object[] dest, int l syntax @wiki 1 ヒット , 最終更新: 14カ月前 dard output.
*/
class HelloWorldApp {
public static void main(String[] args) {
System.out.pri compress @study:java 1 ヒット , 最終更新: 16年前 array to the ZIP file =====
<code java>
private static final int COMPRESS_LEVEL = 9;
public long writeZ