wangting
2024-09-27 a3e87f78ee262ca9bb7d9b0c997639d5f3295890
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.vci.client.omd.lifecycle.pubimpl;
 
import java.util.ArrayList;
 
import com.vci.client.omd.lifecycle.itf.InterLCy;
 
public class InterLCyManager {
    private static InterLCyManager interManager= null;
    private ArrayList<InterLCy> interLCyList = new ArrayList<InterLCy>();
    
    private InterLCyManager(){
        
    }
    
    public static InterLCyManager getInstance(){
        if(interManager == null){
            interManager = new InterLCyManager();
        }
        return interManager;
    }
    
    public void registerInter(InterLCy interLCy){
        interLCyList.add(interLCy);
    }
    
    public ArrayList<InterLCy> getInterLCyList(){
        return interLCyList;
    }
}